Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
unused_variable.hpp File Reference
#include <boost/log/detail/config.hpp>
Include dependency graph for unused_variable.hpp:
This graph shows which files directly or indirectly include this file:

Namespaces

 boost
 Duration formatting facet for input.
 
 boost::aux
 

Macros

#define BOOST_LOG_UNUSED_VARIABLE(type, var, initializer)   type var initializer; ::boost::log::aux::no_unused_warnings(var)
 The macro suppresses compiler warnings for var being unused. More...
 

Functions

template<typename T >
BOOST_FORCEINLINE void boost::aux::no_unused_warnings (T const &) BOOST_NOEXCEPT
 

Detailed Description

Author
Andrey Semashev
Date
10.05.2008

The header contains definition of a macro to suppress compiler warnings about unused variables.

Macro Definition Documentation

#define BOOST_LOG_UNUSED_VARIABLE (   type,
  var,
  initializer 
)    type var initializer; ::boost::log::aux::no_unused_warnings(var)

The macro suppresses compiler warnings for var being unused.