On 09/13/2011 10:35 AM, Ed Smith-Rowland wrote:
I need to build a TEMPLATE_ID_EXPR whenever I encounter 1234_suffix. I need to construct a call operator"" _suffix<'1','2','3','4'>();Is make_char_string_pack (const char* str) in cp/parser.c right?
The TREE_TYPE of a NONTYPE_ARGUMENT_PACK is not a pack itself, but the type of an element. So char_type_node in this case.
Jason