diff options
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/user-guide/04-interfaces-generics.md | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/user-guide/04-interfaces-generics.md b/docs/user-guide/04-interfaces-generics.md index dccaa045f..322134d9f 100644 --- a/docs/user-guide/04-interfaces-generics.md +++ b/docs/user-guide/04-interfaces-generics.md @@ -461,7 +461,8 @@ Note that the builtin `vector<float, N>` type also has an generic value paramete > #### Note #### > The only type of generic value parameters are integer values. `bool`, `float` and > other types cannot be used in a generic value parameter. Computations in a type -> expression are not supported, for example, `vector<float, 1+1>` is not allowed. +> expression are supported as long as they can be folded at compile time. For example, +`vector<float, 1+1>` is equivalent to `vector<float, 2>`. Interface-typed Values |
