mirror of
https://github.com/boostorg/scope_exit.git
synced 2026-01-26 07:02:09 +00:00
Split all sequence syntax with forced no-variadic tests and examples (..._nova) in their own separate file (to avoid macro redefinition warning on compilers within variadic macros). Updated docs. [SVN r77546]
22 lines
562 B
C++
22 lines
562 B
C++
|
|
// Copyright (C) 2012 Lorenzo Caminiti
|
|
// Distributed under the Boost Software License, Version 1.0
|
|
// (see accompanying file LICENSE_1_0.txt or a copy at
|
|
// http://www.boost.org/LICENSE_1_0.txt)
|
|
// Home at http://www.boost.org/libs/scope_exit
|
|
|
|
#ifndef NOVA_HPP_
|
|
#define NOVA_HPP_
|
|
|
|
#include <boost/config.hpp>
|
|
|
|
// WARNING: This file must be included first in each compilation unit.
|
|
|
|
// Force no variadic macros but avoiding macro redefinition warning/error.
|
|
#ifndef BOOST_NO_VARIADIC_MACROS
|
|
# define BOOST_NO_VARIADIC_MACROS
|
|
#endif
|
|
|
|
#endif // #include guard
|
|
|