Ignore:
Timestamp:
Nov 15, 2021, 4:26:56 PM (2 years ago)
Author:
Michael Brooks <mlbrooks@…>
Branches:
ADT, ast-experimental, enum, master, pthread-emulation, qualifiedEnum
Children:
01db301
Parents:
4e8df745
Message:

Fixing LL API not allowing simple assignment.
Removing accidentally commited performance regression of attribute-no-inline.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/containers/string_res.hfa

    r4e8df745 r1733184  
    8787}
    8888
    89 void assign(string_res &s, const char* buffer, size_t bsize); // copy specific length from buffer
    90 static inline void ?=?(string_res &s, const char* other) {  // copy from string literal (NULL-terminated)
    91     assign(s, other, strlen(other));
     89string_res & assign(string_res &s, const char* buffer, size_t bsize); // copy specific length from buffer
     90static inline string_res & ?=?(string_res &s, const char* other) {  // copy from string literal (NULL-terminated)
     91    return assign(s, other, strlen(other));
    9292}
    93 void ?=?(string_res &s, const string_res &other);
    94 void ?=?(string_res &s, string_res &other);
    95 void ?=?(string_res &s, char other);
     93string_res & ?=?(string_res &s, const string_res &other);
     94string_res & ?=?(string_res &s, string_res &other);
     95string_res & ?=?(string_res &s, char other);
    9696
    9797void ^?{}(string_res &s);
Note: See TracChangeset for help on using the changeset viewer.