C++: clarify folds only appear in uninstantiated templates

This commit is contained in:
Nick Rolfe
2019-05-01 10:18:07 +01:00
parent 4e39862dd5
commit 8da2f0b8dc

View File

@@ -965,7 +965,8 @@ class NoExceptExpr extends Expr, @noexceptexpr {
}
/**
* A C++17 fold expression.
* A C++17 fold expression. This will only appear in an uninstantiated template; any instantiations
* of the template will instead contain the sequence of expressions given by expanding the fold.
*/
class FoldExpr extends Expr, @foldexpr {
override string toString() {