forked from Alepha/Alepha
Rename the template_for
header.
C++26 (I hope) is supposed to have this syntax: ``` template for( const auto &element: aggregate ) { ...; } ``` Thus, I've adjusted this gadget to have a similar name, to enable simple mechanical code changes. From Alepha, you'd use it thus: ``` template_for( aggregate ) <=[&]( const auto &element ) { ...; }; ```
This commit is contained in:
@ -16,7 +16,7 @@ static_assert( __cplusplus > 2020'99 );
|
||||
#include <iomanip>
|
||||
|
||||
#include <Alepha/function_traits.h>
|
||||
#include <Alepha/template_for_each.h>
|
||||
#include <Alepha/template_for.h>
|
||||
|
||||
#include <Alepha/IOStreams/String.h>
|
||||
|
||||
|
Reference in New Issue
Block a user