Idiomatic ways of using tuples and std::tie
I am primarily a Python developer, but I occasionally use C++. I am trying to implement the modular multiplicative inverse using the extended Euclidean algorithm in C++. In Python, the code for this is concise and idiomatic, using tuple unpacking:
Is there a way to extract the search from a c++ regex? (not a question about regexs but #include )
given a C++ std regex is there a way to figure out what that regex would search for? get the string out that you put in when constructing it?