Then you can use std::tie to make the magic... Still, it's a bit of code. With C++17: std::set<S> mySet; S value{42, "Test", 3.14}; auto [iter, ...
確定! 回上一頁