Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion book/en-us/02-usability.md
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ actually returns a constant at runtime, which causes illegal production.
C++11 provides `constexpr` to let the user explicitly declare that the function or
object constructor will become a constant expression at compile time.
This keyword explicitly tells the compiler that it should verify that `len_foo`
should be a compile-time constant expression. Constant expression.
should be a compile-time constant expression.

In addition, the function of `constexpr` can use recursion:

Expand Down