Sprout/sprout/variant/static_visitor.hpp

25 lines
749 B
C++
Raw Normal View History

2013-08-08 09:54:33 +00:00
/*=============================================================================
Copyright (c) 2011-2013 Bolero MURAKAMI
https://github.com/bolero-MURAKAMI/Sprout
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
=============================================================================*/
#ifndef SPROUT_VARIANT_STATIC_VISITOR_HPP
#define SPROUT_VARIANT_STATIC_VISITOR_HPP
#include <sprout/config.hpp>
namespace sprout {
2012-12-19 15:09:05 +00:00
//
// static_visitor
//
template<typename R = void>
class static_visitor {
public:
typedef R result_type;
};
} // namespace sprout
#endif // #ifndef SPROUT_VARIANT_STATIC_VISITOR_HPP