summaryrefslogtreecommitdiff
path: root/boost/fusion/container/list/cons_fwd.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/fusion/container/list/cons_fwd.hpp')
-rw-r--r--boost/fusion/container/list/cons_fwd.hpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/boost/fusion/container/list/cons_fwd.hpp b/boost/fusion/container/list/cons_fwd.hpp
index 80bb0443c8..547c42ca9b 100644
--- a/boost/fusion/container/list/cons_fwd.hpp
+++ b/boost/fusion/container/list/cons_fwd.hpp
@@ -2,7 +2,7 @@
Copyright (c) 2001-2011 Joel de Guzman
Copyright (c) 2005 Eric Niebler
- Distributed under the Boost Software License, Version 1.0. (See accompanying
+ Distributed under 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_FUSION_CONS_FWD_HPP_INCLUDED)
@@ -10,9 +10,12 @@
namespace boost { namespace fusion
{
- struct nil;
+ struct nil_;
+ #ifndef nil
+ typedef nil_ nil;
+ #endif
- template <typename Car, typename Cdr = nil>
+ template <typename Car, typename Cdr = nil_>
struct cons;
}}