Sprout/sprout/functional/polymorphic/post_decrement.hpp

26 lines
938 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_POST_DECREMENT_HPP
#define SPROUT_FUNCTIONAL_POLYMORPHIC_POST_DECREMENT_HPP
2012-06-21 04:34:26 +00:00
#include <sprout/config.hpp>
2016-04-06 10:24:26 +00:00
#include <sprout/functional/post_decrement.hpp>
2012-06-21 04:34:26 +00:00
namespace sprout {
//
2016-04-06 10:24:26 +00:00
// post_decrement_t
// post_decrement_
2012-06-21 04:34:26 +00:00
//
2016-04-06 10:24:26 +00:00
typedef sprout::post_decrement<> post_decrement_t;
2012-06-21 04:34:26 +00:00
namespace {
2016-04-06 10:24:26 +00:00
SPROUT_STATIC_CONSTEXPR sprout::post_decrement_t post_decrement_ = {};
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_POST_DECREMENT_HPP