Sprout/sprout/functional/polymorphic/pre_increment.hpp

26 lines
928 B
C++
Raw Normal View History

2013-08-08 09:54:33 +00:00
/*=============================================================================
2016-02-25 09:48:28 +00:00
Copyright (c) 2011-2016 Bolero MURAKAMI
2013-08-08 09:54:33 +00:00
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)
=============================================================================*/
2016-04-06 10:24:26 +00:00
#ifndef SPROUT_FUNCTIONAL_POLYMORPHIC_PRE_INCREMENT_HPP
#define SPROUT_FUNCTIONAL_POLYMORPHIC_PRE_INCREMENT_HPP
2012-06-21 04:34:26 +00:00
#include <sprout/config.hpp>
2016-04-06 10:24:26 +00:00
#include <sprout/functional/pre_increment.hpp>
2012-06-21 04:34:26 +00:00
namespace sprout {
//
2016-04-06 10:24:26 +00:00
// pre_increment_t
// pre_increment_
2012-06-21 04:34:26 +00:00
//
2016-04-06 10:24:26 +00:00
typedef sprout::pre_increment<> pre_increment_t;
2012-06-21 04:34:26 +00:00
namespace {
2016-04-06 10:24:26 +00:00
SPROUT_STATIC_CONSTEXPR sprout::pre_increment_t pre_increment_ = {};
2012-06-21 04:34:26 +00:00
} // anonymous-namespace
} // namespace sprout
2016-04-06 10:24:26 +00:00
#endif // #ifndef SPROUT_FUNCTIONAL_POLYMORPHIC_PRE_INCREMENT_HPP