Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-31 10:02:39

0001 /*=============================================================================
0002     Copyright (c) 2001-2014 Joel de Guzman
0003     Copyright (c) 2013 Agustin Berge
0004 
0005     Distributed under the Boost Software License, Version 1.0. (See accompanying
0006     file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
0007 ==============================================================================*/
0008 #if !defined(BOOST_SPIRIT_X3_SFINAE_MAY_20_2013_0840AM)
0009 #define BOOST_SPIRIT_X3_SFINAE_MAY_20_2013_0840AM
0010 
0011 namespace boost { namespace spirit { namespace x3
0012 {
0013     template <typename Expr, typename T = void>
0014     struct disable_if_substitution_failure
0015     {
0016         typedef T type;
0017     };
0018     
0019     template <typename Expr, typename T>
0020     struct lazy_disable_if_substitution_failure
0021     {
0022         typedef typename T::type type;
0023     };
0024 }}}
0025 
0026 #endif