Skip to content

Commit

Permalink
Mention const fn calls in list of valid const expressions
Browse files Browse the repository at this point in the history
  • Loading branch information
oli-obk authored Oct 9, 2018
1 parent 3e3be42 commit 3a7b6d8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/const_eval.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ to be ran.
* The [dereference operator].
* [Grouped] expressions.
* [Cast] expressions, except pointer to address and
function pointer to address casts.
* function pointer to address casts.

This comment has been minimized.

Copy link
@Havvy

Havvy Oct 9, 2018

Contributor

Nit: This asterisk should not be here.

* function and method calls

This comment has been minimized.

Copy link
@Havvy

Havvy Oct 9, 2018

Contributor

Nits: "calls to const functions" lest we suggest we're allowing calls to all functions.


## Const context

Expand Down

0 comments on commit 3a7b6d8

Please sign in to comment.