From d2f2e467c03f108a407473366c950bc2371ca00a Mon Sep 17 00:00:00 2001 From: Jason Merrill Date: Wed, 13 Aug 2014 14:25:06 -0400 Subject: call.c (build_x_va_arg): Support passing non-POD through .... * call.c (build_x_va_arg): Support passing non-POD through .... (convert_arg_to_ellipsis): Likewise. From-SVN: r213921 --- gcc/doc/implement-cxx.texi | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'gcc/doc/implement-cxx.texi') diff --git a/gcc/doc/implement-cxx.texi b/gcc/doc/implement-cxx.texi index 50efcc3..5802311 100644 --- a/gcc/doc/implement-cxx.texi +++ b/gcc/doc/implement-cxx.texi @@ -42,7 +42,9 @@ all conditionally-supported constructs that it does not support (C++0x @cite{Whether an argument of class type with a non-trivial copy constructor or destructor can be passed to ... (C++0x 5.2.2).} -Such argument passing is not supported. +Such argument passing is supported, using the same +pass-by-invisible-reference approach used for normal function +arguments of such types. @end itemize -- cgit v1.1