File tree 1 file changed +5
-4
lines changed
1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -4606,11 +4606,12 @@ class cppfront
4606
4606
// functions that have captures, the intent is that '==' implies "the result
4607
4607
// always the same (depends only on the arguments)." Specifically, the result
4608
4608
// doesn't depend on the captured state, so the captured state should be const.
4609
- // But until we want to take a dependency on C++23 (P2242) to make more lambdas
4610
- // work with 'constexpr' even when not invoked in constexpr contexts, we will
4611
- // emit it as const/whitespace instead for now.
4609
+ // But until we want to take a dependency on post- C++20 constexpr relaxation
4610
+ // to make more code work with 'constexpr' even when not invoked in constexpr
4611
+ // contexts, we will emit it as const/whitespace instead for now.
4612
4612
//
4613
- // printer.print_cpp2( " constexpr", n.position() ); // deliberately disabled until future
4613
+ // printer.print_cpp2( " constexpr", n.position() );
4614
+ // // consider enabling when P2242, P2280, and similar papers are widely implemented
4614
4615
}
4615
4616
else {
4616
4617
printer.print_cpp2 ( " mutable" , n.position () );
You can’t perform that action at this time.
0 commit comments