|
Boost : |
Subject: Re: [boost] [typeof] registration question
From: lcaminiti (lorcaminiti_at_[hidden])
Date: 2012-04-12 12:21:13
Cromwell Enage wrote
>
> Now I have another question: How should one register a template with the
> non-type template parameter `std::size_t` (e.g. boost::array)?
>
#include <boost/typeof/typeof.hpp>
#incldue BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
#include <boost/array.hpp>
BOOST_TYPEOF_REGISTER_TEMPLATE(boost::array, (typename)(std::size_t))
http://www.boost.org/doc/libs/1_41_0/doc/html/typeof/refe.html#typeof.regtemp
HTH,
--Lorenzo
-- View this message in context: http://boost.2283326.n4.nabble.com/typeof-registration-question-tp4503815p4552359.html Sent from the Boost - Dev mailing list archive at Nabble.com.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk