peerplays-fc/include/fc/function.hpp

17 lines
342 B
C++
Raw Normal View History

2012-09-08 02:50:37 +00:00
#ifndef _FC_FUNCTION_HPP_
#define _FC_FUNCTION_HPP_
2012-09-08 06:41:28 +00:00
#include <fc/utility.hpp>
#include <functional>
#include <boost/config.hpp>
2012-09-08 02:50:37 +00:00
namespace fc {
2012-09-08 06:41:28 +00:00
// place holder for more compile-effecient functor
#if !defined(BOOST_NO_TEMPLATE_ALIASES)
2012-09-08 06:41:28 +00:00
template<typename T>
using function = std::function<T>;
#else
#endif
2012-09-08 02:50:37 +00:00
}
#endif // _FC_FUNCTION_HPP_