diff options
Diffstat (limited to 'boost/bimap/bimap.hpp')
-rw-r--r-- | boost/bimap/bimap.hpp | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/boost/bimap/bimap.hpp b/boost/bimap/bimap.hpp index 2929ce58e4..5fe7a3f5b1 100644 --- a/boost/bimap/bimap.hpp +++ b/boost/bimap/bimap.hpp @@ -45,7 +45,7 @@ the next step will be: #ifndef BOOST_BIMAP_BIMAP_HPP #define BOOST_BIMAP_BIMAP_HPP -#if defined(_MSC_VER) && (_MSC_VER>=1200) +#if defined(_MSC_VER) #pragma once #endif @@ -342,8 +342,7 @@ class bimap template< class Tag, class IteratorType > BOOST_DEDUCED_TYPENAME ::boost::bimaps::support:: iterator_type_by<Tag,bimap>::type - project(IteratorType iter - BOOST_APPEND_EXPLICIT_TEMPLATE_TYPE(Tag)) + project(IteratorType iter) { return core.template project<Tag>(iter.base()); } @@ -351,8 +350,7 @@ class bimap template< class Tag, class IteratorType > BOOST_DEDUCED_TYPENAME ::boost::bimaps::support:: const_iterator_type_by<Tag,bimap>::type - project(IteratorType iter - BOOST_APPEND_EXPLICIT_TEMPLATE_TYPE(Tag)) const + project(IteratorType iter) const { return core.template project<Tag>(iter.base()); } @@ -369,16 +367,14 @@ class bimap template< class Tag > BOOST_DEDUCED_TYPENAME ::boost::bimaps::support:: - map_type_by<Tag,bimap>::type & - by(BOOST_EXPLICIT_TEMPLATE_TYPE(Tag)) + map_type_by<Tag,bimap>::type &by() { return ::boost::bimaps::support::map_by<Tag>(*this); } template< class Tag > const BOOST_DEDUCED_TYPENAME ::boost::bimaps::support:: - map_type_by<Tag,bimap>::type & - by(BOOST_EXPLICIT_TEMPLATE_TYPE(Tag)) const + map_type_by<Tag,bimap>::type &by() const { return ::boost::bimaps::support::map_by<Tag>(*this); } |