--- stl_utility.h.orig 2011-12-18 14:20:56.000000000 -0500 +++ stl_utility.h 2011-12-18 14:29:07.000000000 -0500 @@ -33,10 +33,13 @@ /// Template Library, STL. This file is an effort to provide /// extensions to STL functionality. /// +/* #include "concept_check.h" #include "DataWeight.h" +*/ #include "Exception.h" +/* #include #include @@ -45,6 +48,7 @@ #include #include +*/ #include #include #include @@ -79,6 +83,7 @@ namespace yat { namespace utility { +#ifdef HAVE_BOOST /** Functor class taking absolute value */ @@ -345,6 +350,7 @@ inline T operator()(T x) const { return std::exp(x); } }; +#endif /** \brief Identity functor that returns its argument @@ -359,6 +365,7 @@ }; +#ifdef HAVE_BOOST /** Same functionality as map::operator[] but the function does not modify the map and the function throws if key does not exist in @@ -777,5 +784,6 @@ return iter->second; } +#endif }}} // of namespace utility, yat, and theplu #endif