mirror of
https://github.com/boostorg/concept_check.git
synced 2025-07-30 20:47:34 +02:00
added "inline" in a couple places
[SVN r11160]
This commit is contained in:
@ -26,10 +26,16 @@
|
||||
|
||||
namespace boost {
|
||||
|
||||
template <class T> void ignore_unused_variable_warning(const T&) { }
|
||||
/*
|
||||
"inline" is used for ignore_unused_variable_warning()
|
||||
and function_requires() to make sure there is no
|
||||
overhead with g++.
|
||||
*/
|
||||
|
||||
template <class T> inline void ignore_unused_variable_warning(const T&) { }
|
||||
|
||||
template <class Concept>
|
||||
void function_requires()
|
||||
inline void function_requires()
|
||||
{
|
||||
#if !defined(NDEBUG)
|
||||
void (Concept::*x)() = BOOST_FPTR Concept::constraints;
|
||||
|
Reference in New Issue
Block a user