[Boost-bugs] [Boost C++ Libraries] #1206: Escaping from within code?

Subject: [Boost-bugs] [Boost C++ Libraries] #1206: Escaping from within code?
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2007-08-23 00:04:34


#1206: Escaping from within code?
------------------------------+---------------------------------------------
 Reporter: djowel | Owner: djowel
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: quickbook
  Version: Boost 1.34.1 | Severity: Problem
 Keywords: |
------------------------------+---------------------------------------------
 John:

 Just another data point: escaping to BoostBook from within code doesn't
 work unless the escape is inside a macro:

 template <class T>
 struct function_traits
 {
   static const std::size_t arity = __below;
   typedef __below result_type;
   typedef __below '''arg<replaceable>N</replaceable>_type''';
 };

 Does *not* process the escape, whereas:

 [def __argN '''arg<replaceable>N</replaceable>_type''']
 template <class T>
 struct function_traits
 {
   static const std::size_t arity = __below;
   typedef __below result_type;
   typedef __below __argN;
 };

 Does process the escape. Took me a while to figure this out

--
Ticket URL: <http://svn.boost.org/trac/boost/ticket/1206>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.


This archive was generated by hypermail 2.1.7 : 2017-02-16 18:49:56 UTC