New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
template_arity.hpp in vendors/XIOS/current/extern/boost/include/boost/mpl/aux_/preprocessed/msvc60 – NEMO

source: vendors/XIOS/current/extern/boost/include/boost/mpl/aux_/preprocessed/msvc60/template_arity.hpp @ 3428

Last change on this file since 3428 was 3428, checked in by rblod, 12 years ago

importing initial XIOS vendor drop

File size: 833 bytes
Line 
1
2// Copyright Aleksey Gurtovoy 2001-2004
3//
4// Distributed under the Boost Software License, Version 1.0.
5// (See accompanying file LICENSE_1_0.txt or copy at
6// http://www.boost.org/LICENSE_1_0.txt)
7//
8
9// Preprocessed version of "boost/mpl/aux_/template_arity.hpp" header
10// -- DO NOT modify by hand!
11
12namespace boost { namespace mpl { namespace aux {
13
14template< bool >
15struct template_arity_impl
16{
17    template< typename F > struct result_
18        : mpl::int_< -1 >
19    {
20    };
21};
22
23template<>
24struct template_arity_impl<true>
25{
26    template< typename F > struct result_
27        : F::arity
28    {
29    };
30};
31
32template< typename F >
33struct template_arity
34    : template_arity_impl< ::boost::mpl::aux::has_rebind<F>::value >
35        ::template result_<F>
36{
37};
38
39template<>
40struct template_arity<int>
41    : mpl::int_< -1 >
42{
43};
44
45}}}
46
Note: See TracBrowser for help on using the repository browser.