摘要: std::optional 1. vlaue_or 函数使用 1 #include <iostream> 2 #include <optional> 3 #include <string> 4 5 std::optional<std::string> create(bool b) 6 { 7 if( 阅读全文
posted @ 2021-09-24 22:25 苏格拉底的落泪 阅读(461) 评论(0) 推荐(0)