Skip to content

Commit 8177fff

Browse files
authored
Update 04-interfaces-generics.md
1 parent 088644c commit 8177fff

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/user-guide/04-interfaces-generics.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -461,7 +461,8 @@ Note that the builtin `vector<float, N>` type also has an generic value paramete
461461
> #### Note ####
462462
> The only type of generic value parameters are integer values. `bool`, `float` and
463463
> other types cannot be used in a generic value parameter. Computations in a type
464-
> expression are not supported, for example, `vector<float, 1+1>` is not allowed.
464+
> expression are supported as long as they can be folded at compile time. For example,
465+
`vector<float, 1+1>` is equivalent to `vector<float, 2>`.
465466
466467

467468
Interface-typed Values

0 commit comments

Comments
 (0)