1
0
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:
2024-07-05 11:59:26 -04:00
parent b5fb8c76f2
commit 32e6c36570
7 changed files with 5 additions and 5 deletions

View File

@ -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>