summaryrefslogtreecommitdiff
path: root/boost/align/is_aligned.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/align/is_aligned.hpp')
-rw-r--r--boost/align/is_aligned.hpp19
1 files changed, 9 insertions, 10 deletions
diff --git a/boost/align/is_aligned.hpp b/boost/align/is_aligned.hpp
index cbace96077..c8266d0eae 100644
--- a/boost/align/is_aligned.hpp
+++ b/boost/align/is_aligned.hpp
@@ -1,27 +1,26 @@
/*
-(c) 2014 Glen Joseph Fernandes
-<glenjofe -at- gmail.com>
+Copyright 2014 Glen Joseph Fernandes
+(glenjofe@gmail.com)
+
+Distributed under the Boost Software License, Version 1.0.
+(http://www.boost.org/LICENSE_1_0.txt)
-Distributed under the Boost Software
-License, Version 1.0.
-http://boost.org/LICENSE_1_0.txt
*/
#ifndef BOOST_ALIGN_IS_ALIGNED_HPP
#define BOOST_ALIGN_IS_ALIGNED_HPP
#include <boost/align/detail/is_aligned.hpp>
-#include <boost/align/is_aligned_forward.hpp>
namespace boost {
namespace alignment {
-BOOST_CONSTEXPR inline bool is_aligned(std::size_t value,
- std::size_t alignment) BOOST_NOEXCEPT
+BOOST_CONSTEXPR inline bool
+is_aligned(std::size_t value, std::size_t alignment) BOOST_NOEXCEPT
{
return (value & (alignment - 1)) == 0;
}
-} /* .alignment */
-} /* .boost */
+} /* alignment */
+} /* boost */
#endif