PageRenderTime 14ms CodeModel.GetById 11ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/Src/Dependencies/Boost/boost/xpressive/detail/utility/dont_care.hpp

http://hadesmem.googlecode.com/
C++ Header | 25 lines | 12 code | 5 blank | 8 comment | 0 complexity | 706d71fef45c4a695711255983afa1de MD5 | raw file
 1///////////////////////////////////////////////////////////////////////////////
 2// dont_care.hpp
 3//
 4//  Copyright 2008 Eric Niebler. Distributed under the Boost
 5//  Software License, Version 1.0. (See accompanying file
 6//  LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
 7
 8#ifndef BOOST_XPRESSIVE_DETAIL_UTILITY_DONT_CARE_HPP_EAN_10_04_2005
 9#define BOOST_XPRESSIVE_DETAIL_UTILITY_DONT_CARE_HPP_EAN_10_04_2005
10
11namespace boost { namespace xpressive { namespace detail
12{
13    ///////////////////////////////////////////////////////////////////////////////
14    // for function arguments we don't care about
15    struct dont_care
16    {
17        dont_care() {}
18
19        template<typename T>
20        dont_care(T const &) {}
21    };
22
23}}}
24
25#endif