mirror of
https://github.com/isocpp/CppCoreGuidelines.git
synced 2025-12-17 04:44:34 +03:00
@@ -10475,7 +10475,9 @@ When concepts become available, we can (and should) be more specific about the t
|
|||||||
|
|
||||||
##### Example (C++17)
|
##### Example (C++17)
|
||||||
|
|
||||||
auto [ quotient, remainder ] = div(123456, 73); // break out the members of the div_t result
|
std::set<int> values;
|
||||||
|
// ...
|
||||||
|
auto [ position, newly_inserted ] = values.insert(5); // break out the members of the std::pair
|
||||||
|
|
||||||
##### Enforcement
|
##### Enforcement
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user