/usr/include/boost/flyweight
NameSizeModeActions
detail/-0755rm
assoc_container_factory.hpp31630644editdlrm
assoc_container_factory_fwd.hpp7850644editdlrm
factory_tag.hpp11320644editdlrm
flyweight.hpp145380644editdlrm
flyweight_fwd.hpp66970644editdlrm
hashed_factory.hpp27470644editdlrm
hashed_factory_fwd.hpp9900644editdlrm
holder_tag.hpp11210644editdlrm
intermodule_holder.hpp13260644editdlrm
intermodule_holder_fwd.hpp6080644editdlrm
key_value.hpp79510644editdlrm
key_value_fwd.hpp6310644editdlrm
locking_tag.hpp11290644editdlrm
no_locking.hpp8030644editdlrm
no_locking_fwd.hpp5290644editdlrm
no_tracking.hpp10240644editdlrm
no_tracking_fwd.hpp5320644editdlrm
refcounted.hpp49830644editdlrm
refcounted_fwd.hpp5290644editdlrm
serialize.hpp27410644editdlrm
set_factory.hpp18630644editdlrm
set_factory_fwd.hpp9400644editdlrm
simple_locking.hpp9600644editdlrm
simple_locking_fwd.hpp5410644editdlrm
static_holder.hpp11810644editdlrm
static_holder_fwd.hpp5880644editdlrm
tag.hpp10440644editdlrm
tracking_tag.hpp11400644editdlrm
Edit: /usr/include/boost/flyweight/flyweight_fwd.hpp (6697B)
/* Copyright 2006-2015 Joaquin M Lopez Munoz. * Distributed under the Boost Software License, Version 1.0. * (See accompanying file LICENSE_1_0.txt or copy at * http://www.boost.org/LICENSE_1_0.txt) * * See http://www.boost.org/libs/flyweight for library home page. */ #ifndef BOOST_FLYWEIGHT_FLYWEIGHT_FWD_HPP #define BOOST_FLYWEIGHT_FLYWEIGHT_FWD_HPP #if defined(_MSC_VER) #pragma once #endif #include /* keep it first to prevent nasty warns in MSVC */ #include #include #include #include #include #if !defined(BOOST_FLYWEIGHT_DISABLE_HASH_SUPPORT) #include #include #endif namespace boost{ namespace flyweights{ template< typename T, typename Arg1=parameter::void_, typename Arg2=parameter::void_, typename Arg3=parameter::void_, typename Arg4=parameter::void_, typename Arg5=parameter::void_ > class flyweight; #define BOOST_FLYWEIGHT_TYPENAME_TEMPL_ARGS(n) \ typename Arg##n##1,typename Arg##n##2,typename Arg##n##3, \ typename Arg##n##4,typename Arg##n##5 #define BOOST_FLYWEIGHT_TEMPL_ARGS(n) \ Arg##n##1,Arg##n##2,Arg##n##3,Arg##n##4,Arg##n##5 template< typename T1,BOOST_FLYWEIGHT_TYPENAME_TEMPL_ARGS(1), typename T2,BOOST_FLYWEIGHT_TYPENAME_TEMPL_ARGS(2) > bool operator==( const flyweight& x, const flyweight& y); template< typename T1,BOOST_FLYWEIGHT_TYPENAME_TEMPL_ARGS(1), typename T2,BOOST_FLYWEIGHT_TYPENAME_TEMPL_ARGS(2) > bool operator<( const flyweight& x, const flyweight& y); #if !defined(BOOST_NO_FUNCTION_TEMPLATE_ORDERING) template< typename T1,BOOST_FLYWEIGHT_TYPENAME_TEMPL_ARGS(1), typename T2 > bool operator==( const flyweight& x,const T2& y); template< typename T1, typename T2,BOOST_FLYWEIGHT_TYPENAME_TEMPL_ARGS(2) > bool operator==( const T1& x,const flyweight& y); template< typename T1,BOOST_FLYWEIGHT_TYPENAME_TEMPL_ARGS(1), typename T2 > bool operator<( const flyweight& x,const T2& y); template< typename T1, typename T2,BOOST_FLYWEIGHT_TYPENAME_TEMPL_ARGS(2) > bool operator<( const T1& x,const flyweight& y); #endif /* !defined(BOOST_NO_FUNCTION_TEMPLATE_ORDERING) */ #define BOOST_FLYWEIGHT_COMPLETE_COMP_OPS_DECL(t,a1,a2) \ template \ inline bool operator!=(const a1& x,const a2& y); \ \ template \ inline bool operator>(const a1& x,const a2& y); \ \ template \ inline bool operator>=(const a1& x,const a2& y); \ \ template \ inline bool operator<=(const a1& x,const a2& y); \ BOOST_FLYWEIGHT_COMPLETE_COMP_OPS_DECL( typename T1 BOOST_PP_COMMA() BOOST_FLYWEIGHT_TYPENAME_TEMPL_ARGS(1) BOOST_PP_COMMA() typename T2 BOOST_PP_COMMA() BOOST_FLYWEIGHT_TYPENAME_TEMPL_ARGS(2), flyweight< T1 BOOST_PP_COMMA() BOOST_FLYWEIGHT_TEMPL_ARGS(1) >, flyweight< T2 BOOST_PP_COMMA() BOOST_FLYWEIGHT_TEMPL_ARGS(2) >) #if !defined(BOOST_NO_FUNCTION_TEMPLATE_ORDERING) BOOST_FLYWEIGHT_COMPLETE_COMP_OPS_DECL( typename T1 BOOST_PP_COMMA() BOOST_FLYWEIGHT_TYPENAME_TEMPL_ARGS(1) BOOST_PP_COMMA() typename T2, flyweight< T1 BOOST_PP_COMMA() BOOST_FLYWEIGHT_TEMPL_ARGS(1) >, T2) BOOST_FLYWEIGHT_COMPLETE_COMP_OPS_DECL( typename T1 BOOST_PP_COMMA() typename T2 BOOST_PP_COMMA() BOOST_FLYWEIGHT_TYPENAME_TEMPL_ARGS(2), T1, flyweight< T2 BOOST_PP_COMMA() BOOST_FLYWEIGHT_TEMPL_ARGS(2) >) #endif /* !defined(BOOST_NO_FUNCTION_TEMPLATE_ORDERING) */ template inline void swap( flyweight& x, flyweight& y); template< BOOST_TEMPLATED_STREAM_ARGS(ElemType,Traits) BOOST_TEMPLATED_STREAM_COMMA typename T,BOOST_FLYWEIGHT_TYPENAME_TEMPL_ARGS(_) > inline BOOST_TEMPLATED_STREAM(ostream,ElemType,Traits)& operator<<( BOOST_TEMPLATED_STREAM(ostream,ElemType,Traits)& out, const flyweight& x); template< BOOST_TEMPLATED_STREAM_ARGS(ElemType,Traits) BOOST_TEMPLATED_STREAM_COMMA typename T,BOOST_FLYWEIGHT_TYPENAME_TEMPL_ARGS(_) > inline BOOST_TEMPLATED_STREAM(istream,ElemType,Traits)& operator>>( BOOST_TEMPLATED_STREAM(istream,ElemType,Traits)& in, flyweight& x); } /* namespace flyweights */ using flyweights::flyweight; } /* namespace boost */ #if !defined(BOOST_FLYWEIGHT_DISABLE_HASH_SUPPORT) #if !defined(BOOST_NO_CXX11_HDR_FUNCTIONAL) #if BOOST_WORKAROUND(_CPPLIB_VER,==520) /* Dinkumware 5.20 defines std::hash as class rather than struct */ #define BOOST_FLYWEIGHT_STD_HASH_STRUCT_KEYWORD class #else #define BOOST_FLYWEIGHT_STD_HASH_STRUCT_KEYWORD struct #endif #if !defined(_LIBCPP_VERSION) namespace std{ template BOOST_FLYWEIGHT_STD_HASH_STRUCT_KEYWORD hash; } #else /* As discussed in http://lists.boost.org/Archives/boost/2011/02/177218.php */ #include #endif namespace std{ template BOOST_FLYWEIGHT_STD_HASH_STRUCT_KEYWORD hash >; } /* namespace std */ #endif /* !defined(BOOST_NO_CXX11_HDR_FUNCTIONAL) */ namespace boost{ #if !defined(BOOST_NO_ARGUMENT_DEPENDENT_LOOKUP) namespace flyweights{ #endif template inline std::size_t hash_value( const flyweight& x); #if !defined(BOOST_NO_ARGUMENT_DEPENDENT_LOOKUP) } /* namespace flyweights */ #endif } /* namespace boost */ #endif /* !defined(BOOST_FLYWEIGHT_DISABLE_HASH_SUPPORT) */ #undef BOOST_FLYWEIGHT_COMPLETE_COMP_OPS_DECL #undef BOOST_FLYWEIGHT_TEMPL_ARGS #undef BOOST_FLYWEIGHT_TYPENAME_TEMPL_ARGS #endif