Changeset 38763


Ignore:
Timestamp:
Aug 19, 2007, 5:51:36 PM (11 years ago)
Author:
Andreas Pokorny
Message:

oops they should be public..

Location:
branches/xpressive/nested_dynamic_regex/boost/xpressive
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/xpressive/nested_dynamic_regex/boost/xpressive/detail/dynamic/parser_traits.hpp

    r38761 r38763  
    3131// compiler_traits
    3232//  this works for char and wchar_t. it must be specialized for anything else.
    33 //
    34 template<typename RegexTraits>
     33// 
     34template<typename BidiIter, typename RegexTraits>
    3535struct compiler_traits
    3636{
     
    364364    }
    365365
     366    ///////////////////////////////////////////////////////////////////////////////
     367    // is_reference
     368    bool is_reference( string_type const& t )
     369    {
     370        return false;
     371    }
     372
     373    basic_regex<BidiIter> const* get_reference( string_type const& name )
     374    {
     375         return NULL;
     376    }
     377   
     378
     379
    366380private:
    367381
     
    448462    }
    449463
    450 
    451     ///////////////////////////////////////////////////////////////////////////////
    452     // is_reference
    453     bool is_reference( string_type const& t )
    454     {
    455         return false;
    456     }
    457 
    458     template<typename BidiIter>
    459     basic_regex<BidiIter> const* get_reference( string_type const& name )
    460     {
    461          return NULL;
    462     }
    463    
    464 
    465464    regex_traits traits_;
    466465    regex_constants::syntax_option_type flags_;
  • branches/xpressive/nested_dynamic_regex/boost/xpressive/nested_dynamic_compiler.hpp

    r38761 r38763  
    2525        template<typename BidiIter, typename RegexTraits>
    2626        struct nested_parser
    27           : compiler_traits<RegexTraits>
     27          : compiler_traits<BidiIter,RegexTraits>
    2828        {
    29             typedef typename compiler_traits<RegexTraits>::string_type string_type;
     29            typedef typename compiler_traits<BidiIter,RegexTraits>::string_type string_type;
    3030
    3131            struct _values
     
    3838           
    3939            nested_parser( RegexTraits const& t )
    40                 : compiler_traits<RegexTraits>(t),
     40                : compiler_traits<BidiIter,RegexTraits>(t),
    4141                  start(0)
    4242            {}
  • branches/xpressive/nested_dynamic_regex/boost/xpressive/xpressive_fwd.hpp

    r38761 r38763  
    120120    struct sub_match;
    121121
    122     template<typename RegexTraits>
     122    template<typename BidiIter, typename RegexTraits>
    123123    struct compiler_traits;
    124124
     
    130130        typename BidiIter
    131131      , typename RegexTraits = regex_traits<typename iterator_value<BidiIter>::type>
    132       , typename CompilerTraits = compiler_traits<RegexTraits>
     132      , typename CompilerTraits = compiler_traits<BidiIter,RegexTraits>
    133133    >
    134134    struct regex_compiler;
Note: See TracChangeset for help on using the changeset viewer.