
"Tobias Schwinger" <tschwinger@neoscientists.org> wrote
REGISTER_SPEC((typename T), (std::set< T )( std::less<T> )( std::allocator<T> > ))
REGISTER_SPEC((typename T)(typename Pred), (std::set< T )( Pred )( std::allocator<T> > ))
// ^^^ NOTE: not a proposal for an interface -- for illustration,
only Also, please note that currently, when (class) or (typename) is passed to the macro, it's not just used as is. Instead, it is used to create an "object" that contains certain knowledge of how the type template parameter is different from integral template parameter and template template parameter. So it doesn't seem possible to just replace it with (typename T). We would probably have to pass them separately: (typename)(T). Regards, Arkadiy