From 2b7d10aceb437f03543294351484c2d8c52ac3e3 Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Thu, 14 Nov 2002 14:41:25 +0000 Subject: [PATCH] BOOST_CURRENT_FUNCTION documentation added. [SVN r16236] --- current_function.html | 38 ++++++++++++++++++++++++++++++ include/boost/current_function.hpp | 2 ++ 2 files changed, 40 insertions(+) create mode 100644 current_function.html diff --git a/current_function.html b/current_function.html new file mode 100644 index 0000000..158cd4e --- /dev/null +++ b/current_function.html @@ -0,0 +1,38 @@ + + + + Boost: current_function.hpp documentation + + + + + + + + + + + +
+ c++boost.gif (8819 bytes) + +

current_function.hpp

+
 
+

+ The header <boost/current_function.hpp> defines a single + macro, BOOST_CURRENT_FUNCTION, similar to the + C99 macro __func__. +

+

BOOST_CURRENT_FUNCTION expands to a string literal containing + the (fully qualified, if possible) name of the enclosing function. If there is + no enclosing function, the behavior is undefined.

+

Some compilers do not provide a way to obtain the name of the current enclosing + function. On such compilers, the string literal has an unspecified value.

+

+
+ Copyright © 2002 by Peter Dimov. Permission to copy, use, modify, sell and + distribute this document is granted provided this copyright notice appears in + all copies. This document is provided "as is" without express or implied + warranty, and with no claim as to its suitability for any purpose.

+ + diff --git a/include/boost/current_function.hpp b/include/boost/current_function.hpp index 6d52404..0b2841a 100644 --- a/include/boost/current_function.hpp +++ b/include/boost/current_function.hpp @@ -15,6 +15,8 @@ // This software is provided "as is" without express or implied // warranty, and with no claim as to its suitability for any purpose. // +// http://www.boost.org/libs/utility/current_function.html +// namespace boost {