Menu

#834 C++ parser fails on template code

closed-fixed
parsing (146)
5
2007-12-06
2007-06-10
No

The C++ fails to parse the following code:

template<typename t_item> class alloc_fast {
...
}

template<typename t_item, template<typename> class t_alloc = pfc::alloc_fast >
class list_t : public list_impl_t<t_item,pfc::array_t<t_item,t_alloc> > { };

Especially, what it don't like is "template<typename> class t_alloc = pfc::alloc_fast".

Discussion

  • Gallien Matthieu

    Logged In: YES
    user_id=1250875
    Originator: NO

    Hello,
    I have the exact same problem and have to find a way to do my job in another way (less clean one).
    This bug is some months old and there has been no reaction.
    So please can you at least say something about this bug even if you do not have the possibility to fix it in a timely fashion.

    Thanks in advance

     
  • William Fulton

    William Fulton - 2007-12-06

    Logged In: YES
    user_id=242951
    Originator: NO

    Fixed for 1.3.34

     
  • William Fulton

    William Fulton - 2007-12-06
    • assigned_to: marcelomatus --> wsfulton
    • status: open --> closed-fixed
     

Log in to post a comment.

MongoDB Logo MongoDB