Merge pull request #46 from tanzislam/fix_detail_namespace_for_borland

Fix 'detail' namespace opening for Borland
This commit is contained in:
jzmaddock
2017-10-26 18:28:24 +01:00
committed by GitHub

View File

@ -25,9 +25,8 @@
#endif
namespace boost {
namespace detail{
#ifndef __BORLANDC__
namespace detail{
union max_align
{
@ -76,7 +75,7 @@ template <std::size_t Target> struct short_alignment<Target, false>{ typedef typ
template <std::size_t Target, bool check> struct char_alignment{ typedef char type; };
template <std::size_t Target> struct char_alignment<Target, false>{ typedef typename short_alignment<Target, boost::alignment_of<short>::value >= Target>::type type; };
}
} // namespace detail
template <std::size_t Align>
struct type_with_alignment