30#ifndef _RWSTD_NO_EXT_CXX_0X
36#define THROW public: enum { value = 0 }
37#define NOTHROW public: enum { value = 1 }
46#ifndef _RWSTD_NO_RVALUE_REFERENCES
65#ifndef _RWSTD_NO_RVALUE_REFERENCES
87#ifndef _RWSTD_NO_RVALUE_REFERENCES
109#ifndef _RWSTD_NO_RVALUE_REFERENCES
192 G1 (
const volatile G1&)
throw ();
208 G3 (
const volatile G3&)
throw ();
216 G4 (
const volatile G4&)
throw ();
224 G5 (
const volatile G5&)
throw ();
237 H1 (
const volatile H1&)
throw ();
253 H3 (
const volatile H3&)
throw ();
261 H4 (
const volatile H4&)
throw ();
269 H5 (
const volatile H5&)
throw ();
281 I1 (const
I1&,
int = 0) throw ();
282 I1 (volatile
I1&,
int = 0) throw ();
283 I1 (const volatile
I1&,
int = 0) throw ();
289 I2 (const
I2&,
int = 0) throw ();
290 I2 (volatile
I2&,
int = 0) throw ();
291 I2 (const volatile
I2&,
int = 0);
297 I3 (const
I3&,
int = 0) throw ();
299 I3 (const volatile
I3&,
int = 0) throw ();
306 I4 (volatile
I4&,
int = 0) throw ();
307 I4 (const volatile
I4&,
int = 0) throw ();
313 I5 (
const I5&,
int = 0) throw ();
314 I5 (volatile
I5&,
int = 0) throw ();
315 I5 (const volatile
I5&,
int = 0) throw ();
329 J1 (
const volatile J1&)
throw ();
330 template <
class T>
J1 (
T);
338 J2 (
const volatile J2&)
throw ();
339 template <
class T>
J2 (
const T&);
347 J3 (
const volatile J3&)
throw ();
348 template <
class T>
J3 (
volatile T&);
356 J4 (
const volatile J4&)
throw ();
357 template <
class T>
J4 (
const volatile T&);
371 K1 (
const volatile K1&)
throw ();
372 template <
class T>
K1 (
T)
throw ();
375#ifndef _RWSTD_NO_VARIADIC_TEMPLATES
382 K2 (
const volatile K2&)
throw ();
383 template <
class ...T>
K2 (
T...);
388#ifndef _RWSTD_NO_RVALUE_REFERENCES
395 K3 (
const volatile K3&)
throw ();
406 K4 (
const volatile K4&)
throw ();
415 K5 (
const volatile K5&)
throw ();
474 L8 (
const volatile L8&)
throw ();
596test_has_nothrow_copy ()
598#ifndef _RWSTD_TT_HAS_NOTHROW_COPY
601 "test_has_nothrow_copy() disabled because "
602 "_RWSTD_TT_HAS_NOTHROW_COPY is not defined");
608 rw_assert (std::has_nothrow_copy_constructor<T>::value == T::value, \
610 "std::has_nothrow_copy_constructor<%s>::value == %d", #T, \
611 std::has_nothrow_copy_constructor<T>::value)
618#ifndef _RWSTD_NO_RVALUE_REFERENCES
629#ifndef _RWSTD_NO_RVALUE_REFERENCES
641#ifndef _RWSTD_NO_RVALUE_REFERENCES
653#ifndef _RWSTD_NO_RVALUE_REFERENCES
694# ifndef _RWSTD_NO_VARIADIC_TEMPLATES
697# ifndef _RWSTD_NO_RVALUE_REFERENCES
728 test_has_nothrow_copy ();
742 "test disabled because _RWSTD_NO_EXT_CXX_0X is defined");
750int main (
int argc,
char*argv[])
752 return rw_test (argc, argv, __FILE__,
754 "std::has_nothrow_xxx traits",
void run_test(const ForwardIterator &dummy, T *, Predicate *pred)
_TEST_EXPORT int rw_test(int argc, char *argv[], const char *filename, const char *clause, const char *comment, int(*testfun)(int, char **), const char *optspec,...)
_TEST_EXPORT int rw_warn(int, const char *, int, const char *,...)
L12_1(const volatile L12_1 &)
L13_1(const volatile L13_1 &)
L13_2(const volatile L13_2 &)
L14_1(const volatile L14_1 &)
L14_2(const volatile L14_2 &)
L15_1(const volatile L15_1 &)
L15_2(const volatile L15_2 &)
L16_1(const volatile L16_1 &)
L16_2(const volatile L16_2 &)
L8_1(const volatile L8_1 &)