3 Jun
2014
3 Jun
'14
7:54 a.m.
On Tue, Jun 3, 2014 at 11:49 AM, John Maddock
Vicente J. Botet Escriba wrote:
Right, what's wrong with:
namespace boost{ namespace mpl{
That should be namespace core.
template bool<B> struct bool_;
}
namespace mpl{
using boost::core::bool_;
}}
Yes, I had similar idea. I'll try to extract minimal bits of MPL in a separate branch in Core, maybe dropping some workarounds in the process to reduce the amount of code.
The idea of artificially splitting up type_traits seems pretty abhorrent to be honest.
I think there's no need to split anything for cases like in blank.hpp. We can get away with a simple forward declaration: template< typename > struct is_pod; template< > struct is_pod< blank > : mpl::true_ {};