MySources/boost_graph/boost/tti/gen/has_member_function_gen.hpp

32 lines
778 B
C++
Raw Normal View History

// (C) Copyright Edward Diener 2011,2012
// Use, modification and distribution are subject to 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).
#if !defined(BOOST_TTI_MEMBER_FUNCTION_GEN_HPP)
#define BOOST_TTI_MEMBER_FUNCTION_GEN_HPP
#include <boost/preprocessor/cat.hpp>
/*
The succeeding comments in this file are in doxygen format.
*/
/** \file
*/
/// Generates the macro metafunction name for BOOST_TTI_HAS_MEMBER_FUNCTION.
/**
name = the name of the member function.
returns = the generated macro metafunction name.
*/
#define BOOST_TTI_HAS_MEMBER_FUNCTION_GEN(name) \
BOOST_PP_CAT(has_member_function_,name) \
/**/
#endif // BOOST_TTI_MEMBER_FUNCTION_GEN_HPP