Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #pragma once
- namespace Interface
- {
- #include <boost\variant.hpp>
- #include "EventHandler.h"
- #include "EventFunction.h"
- #include "Factory.h"
- #include "Functionality.h"
- #include "SystemTypes.h"
- etc.
- I want to use variant inside one of the headers included in the Interface namespace
- In one of the pulled in boost headers:
- #ifndef BOOST_TT_IS_INTEGRAL_HPP_INCLUDED
- #define BOOST_TT_IS_INTEGRAL_HPP_INCLUDED
- #include <boost/config.hpp>
- // should be the last #include
- #include <boost/type_traits/detail/bool_trait_def.hpp>
- namespace boost {
- //* is a type T an [cv-qualified-] integral type described in the standard (3.9.1p3)
- // as an extention we include long long, as this is likely to be added to the
- // standard at a later date
- #if defined( __CODEGEARC__ )
- BOOST_TT_AUX_BOOL_TRAIT_DEF1(is_integral,T,__is_integral(T))
- #else
- BOOST_TT_AUX_BOOL_TRAIT_DEF1(is_integral,T,false)
- BOOST_TT_AUX_BOOL_TRAIT_CV_SPEC1(is_integral,unsigned char,true)
- BOOST_TT_AUX_BOOL_TRAIT_CV_SPEC1(is_integral,unsigned short,true)
- BOOST_TT_AUX_BOOL_TRAIT_CV_SPEC1(is_integral,unsigned int,true)
- BOOST_TT_AUX_BOOL_TRAIT_CV_SPEC1(is_integral,unsigned long,true)
- If I hover on the defines here it shows int Interface::boost etc. and I get a bunch of compiler errors (namespace doesn't exist)
Add Comment
Please, Sign In to add comment