|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r58146 - trunk/boost/spirit/home/support
From: hartmut.kaiser_at_[hidden]
Date: 2009-12-04 16:32:06
Author: hkaiser
Date: 2009-12-04 16:32:06 EST (Fri, 04 Dec 2009)
New Revision: 58146
URL: http://svn.boost.org/trac/boost/changeset/58146
Log:
Spirit: streamlined handling of optionals
Text files modified:
trunk/boost/spirit/home/support/container.hpp | 16 ----------------
1 files changed, 0 insertions(+), 16 deletions(-)
Modified: trunk/boost/spirit/home/support/container.hpp
==============================================================================
--- trunk/boost/spirit/home/support/container.hpp (original)
+++ trunk/boost/spirit/home/support/container.hpp 2009-12-04 16:32:06 EST (Fri, 04 Dec 2009)
@@ -209,22 +209,6 @@
};
template <typename T>
- struct optional_attribute<optional<T const> >
- {
- typedef T const& type;
-
- static type call(optional<T const> const& val)
- {
- return boost::get<T const>(val);
- }
-
- static bool is_valid(optional<T const> const& val)
- {
- return val;
- }
- };
-
- template <typename T>
typename optional_attribute<T>::type
optional_value(T const& val)
{
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