Changes between Version 1 and Version 2 of EfficientStrings
- Timestamp:
- Aug 24, 2012 10:10:03 PM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
EfficientStrings
v1 v2 5 5 ==== From literal ==== 6 6 Each String type has a efficient constructor to initialize the string from a literal: 7 * '''String foo = ASCIILiteral("bar") )''';7 * '''String foo = ASCIILiteral("bar")'''; 8 8 * String foo("bar", String::ConstructFromLiteral); 9 9 * AtomicString foo("bar", AtomicString::ConstructFromLiteral);