MCPcopy Create free account
hub / github.com/cameron314/concurrentqueue / char_assign_helper

Class char_assign_helper

benchmarks/dlib/string/string.h:419–435  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

417 // -------------
418
419 class char_assign_helper
420 {
421 public:
422 char_assign_helper (
423 const char* str_
424 ) : str(str_) {}
425
426 template <typename T>
427 operator T () const
428 {
429 return string_cast<T>(str);
430 }
431
432 private:
433
434 const char* str;
435 };
436
437 // -------------
438

Callers 1

operator=Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected