]> git.donarmstrong.com Git - rsem.git/blob - boost/fusion/container/generation/ignore.hpp
Added error detection for cases such as a read's two mates having different names...
[rsem.git] / boost / fusion / container / generation / ignore.hpp
1 /*=============================================================================
2     Copyright (c) 2001 Doug Gregor
3     Copyright (c) 1999-2003 Jaakko Jarvi
4     Copyright (c) 2001-2011 Joel de Guzman
5
6     Distributed under the Boost Software License, Version 1.0. (See accompanying 
7     file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
8 ==============================================================================*/
9 #if !defined(FUSION_IGNORE_07192005_0329)
10 #define FUSION_IGNORE_07192005_0329
11
12 namespace boost { namespace fusion
13 {
14     //  Swallows any assignment (by Doug Gregor)
15     namespace detail
16     {
17         struct swallow_assign
18         {
19             template<typename T>
20             swallow_assign const&
21             operator=(const T&) const
22             {
23                 return *this;
24             }
25         };
26     }
27
28     //  "ignore" allows tuple positions to be ignored when using "tie".
29     detail::swallow_assign const ignore = detail::swallow_assign();
30 }}
31
32 #endif