The View of The String

std::string_view can optimize both performance and code readability in code sections which handle strings. However it can also lead to UB and to memory issues if used incorrectly.

[Solution] Riddle – The Shared View

The Shared View riddle solution. Involves usage example of shared_ptr aliasing constructor, design patterns reflection and factory, metaprogramming, string_view and variant/visit.

Riddle – The Shared View

C++ Riddle - involves shared_ptr, string_view and some metaprogramming.