Changeset 122:f19f4ed808b0 in rrlib_rtti


Ignore:
Timestamp:
29.07.2019 18:36:25 (8 weeks ago)
Author:
Max Reichardt <mreichardt@…>
Branch:
17.03
Children:
123:3a5474107a25, 124:c07b73ae3d24
Phase:
public
Message:

Adds support for legacy std::pair type names in FindType functions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • detail/tTypeInfo.cpp

    r121 r122  
    263263  } 
    264264 
     265  // legacy type name support 
     266  if (util::StartsWith(name, "std.pair<")) 
     267  { 
     268    return FindType("Pair" + name.substr(8)); 
     269  } 
     270 
    265271  // Try omitting one namespace 
    266272  if (name.find('.') != std::string::npos) // namespaces in specified name 
Note: See TracChangeset for help on using the changeset viewer.