User profile: TwilightSpectre
|User name:||TwilightSpectre |
|Old user name:||NT3|
|Location:||Sydney, NSW, Australia|
|Bio:||A programmer guy. Enjoys randomly reading things, writing things, solving things, making problems, and all manner of various shenanigans. |
|Number of posts:||1389|
Return type of generic function
You can also just let [tt]Iter[/tt] be inferred.
template <typename ReturnType, typename Ite...
how to use a different type to find value in std::set
You can use a transparent comparator, such as [tt]std::less<>[/tt]:
How To Quench My Thirst For CS Without A Compiler
It's not dead, because you're undeadifying it. If you want to experiment with syntax-highlighted stu...
The cringiest professor in history
Just going to say it, because it's been bugging me: Almost 100% sure "lncurses" isn't a thing. As yo...
Template deduction guide for std::array
In a fold expression of length of 0, such as [tt]is_same_v<T, U> && ...[/tt], the result when passed...