File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -4606,11 +4606,12 @@ class cppfront
46064606 // functions that have captures, the intent is that '==' implies "the result
46074607 // always the same (depends only on the arguments)." Specifically, the result
46084608 // 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.
46124612 //
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
46144615 }
46154616 else {
46164617 printer.print_cpp2 ( " mutable" , n.position () );
You can’t perform that action at this time.
0 commit comments