MCPcopy Create free account
hub / github.com/davisking/dlib / wchar_t_assign_helper

Class wchar_t_assign_helper

dlib/string/string.h:436–452  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

434 // -------------
435
436 class wchar_t_assign_helper
437 {
438 public:
439 wchar_t_assign_helper (
440 const wchar_t* str_
441 ) : str(str_) {}
442
443 template <typename T>
444 operator T () const
445 {
446 return string_cast<T>(str);
447 }
448
449 private:
450
451 const wchar_t* str;
452 };
453
454 // -------------
455

Callers 1

operator=Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected