diff --git a/enable_if_constructors.cpp b/enable_if_constructors.cpp index 0dabd01..557b2f0 100644 --- a/enable_if_constructors.cpp +++ b/enable_if_constructors.cpp @@ -37,7 +37,7 @@ struct xstring { template xstring(It begin, It end, typename - disable_if >::type* = 0) + disable_if >::type* = 0) : data(end-begin) {} int data; diff --git a/enable_if_lazy_test.cpp b/enable_if_lazy_test.cpp index 672c7b4..d52d01e 100644 --- a/enable_if_lazy_test.cpp +++ b/enable_if_lazy_test.cpp @@ -29,7 +29,7 @@ template struct is_int_or_double { BOOST_STATIC_CONSTANT(bool, value = (boost::is_same::value || - boost::is_same::value)); + boost::is_same::value)); }; template diff --git a/shared_iterator_example2.cpp b/shared_iterator_example2.cpp index a1d16db..10659f7 100644 --- a/shared_iterator_example2.cpp +++ b/shared_iterator_example2.cpp @@ -33,7 +33,7 @@ int main() { ints->push_back(5); print_range_nl(boost::make_shared_container_iterator(ints->begin(),ints), - boost::make_shared_container_iterator(ints->end(),ints)); + boost::make_shared_container_iterator(ints->end(),ints)); }