$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: John Maddock (john_at_[hidden])
Date: 2006-06-22 05:17:35
Matt Calabrese wrote:
> Another simple implementation would be to just use
> partial template specialization:
>
> template< typename Type, template< typename > class Template >
> struct is_instantiation_of
> : false_type
> {
> };
>
> template< typename Arg, template< typename > class Template >
> struct is_instantiation_of< Template< Arg >, Template >
> : true_type
> {
> };
>
> /////////////////////////
>
> // And a more modular form
Matt, looks like you've got this sussed out, care to wrap it up and make it
a submission complete with tests etc?
John.