|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r53399 - trunk/boost/graph
From: jewillco_at_[hidden]
Date: 2009-05-29 13:20:16
Author: jewillco
Date: 2009-05-29 13:20:15 EDT (Fri, 29 May 2009)
New Revision: 53399
URL: http://svn.boost.org/trac/boost/changeset/53399
Log:
Changed template parameter name to un-confuse VC 10
Text files modified:
trunk/boost/graph/transitive_closure.hpp | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
Modified: trunk/boost/graph/transitive_closure.hpp
==============================================================================
--- trunk/boost/graph/transitive_closure.hpp (original)
+++ trunk/boost/graph/transitive_closure.hpp 2009-05-29 13:20:15 EDT (Fri, 29 May 2009)
@@ -38,13 +38,13 @@
namespace detail
{
- template < typename Container, typename ST = std::size_t,
- typename VT = typename Container::value_type >
+ template < typename TheContainer, typename ST = std::size_t,
+ typename VT = typename TheContainer::value_type >
struct subscript_t:public std::unary_function < ST, VT >
{
typedef VT& result_type;
- subscript_t(Container & c):container(&c)
+ subscript_t(TheContainer & c):container(&c)
{
}
VT & operator() (const ST & i) const
@@ -52,11 +52,11 @@
return (*container)[i];
}
protected:
- Container * container;
+ TheContainer * container;
};
- template < typename Container >
- subscript_t < Container > subscript(Container & c) {
- return subscript_t < Container > (c);
+ template < typename TheContainer >
+ subscript_t < TheContainer > subscript(TheContainer & c) {
+ return subscript_t < TheContainer > (c);
}
} // namespace detail
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk