@@ -35,6 +35,12 @@ class CppNoexceptClassImpl final : public CppNoexceptClass {
3535 static_assert (noexcept (CppNoexceptClass::get_foo ()));
3636 return " foo" ;
3737 }
38+
39+ ::std::string get_string_property ( ) const noexcept override {
40+ static_assert (noexcept (CppNoexceptClass::get_string_property ()));
41+ return " foo" ;
42+ }
43+ void set_string_property ( const ::std::string& )noexcept override {}
3844};
3945
4046class CppNoexceptClassInheritedImpl final : public CppNoexceptClassInherited {
@@ -48,6 +54,12 @@ class CppNoexceptClassInheritedImpl final : public CppNoexceptClassInherited {
4854 static_assert (noexcept (CppNoexceptClassInherited::get_bar ()));
4955 return " bar" ;
5056 }
57+
58+ ::std::string get_string_property ( ) const noexcept override {
59+ static_assert (noexcept (CppNoexceptClassInherited::get_string_property ()));
60+ return " foo" ;
61+ }
62+ void set_string_property ( const ::std::string& )noexcept override {}
5163};
5264
5365class CppNoexceptInterfaceImpl final : public CppNoexceptInterface {
@@ -56,6 +68,12 @@ class CppNoexceptInterfaceImpl final : public CppNoexceptInterface {
5668 static_assert (noexcept (CppNoexceptInterface::get_foo ()));
5769 return " foo" ;
5870 }
71+
72+ ::std::string get_string_property ( ) const noexcept override {
73+ static_assert (noexcept (CppNoexceptInterface::get_string_property ()));
74+ return " foo" ;
75+ }
76+ void set_string_property ( const ::std::string& )noexcept override {}
5977};
6078
6179class CppNoexceptInterfaceInheritedImpl final : public CppNoexceptInterfaceInherited {
@@ -69,6 +87,12 @@ class CppNoexceptInterfaceInheritedImpl final : public CppNoexceptInterfaceInher
6987 static_assert (noexcept (CppNoexceptInterfaceInherited::get_bar ()));
7088 return " bar" ;
7189 }
90+
91+ ::std::string get_string_property ( ) const noexcept override {
92+ static_assert (noexcept (CppNoexceptInterfaceInherited::get_string_property ()));
93+ return " foo" ;
94+ }
95+ void set_string_property ( const ::std::string& )noexcept override {}
7296};
7397}
7498
@@ -97,4 +121,14 @@ CppNoexceptInterfaceFactory::call_get_foo(const std::shared_ptr<CppNoexceptInter
97121 return callback->get_foo ();
98122}
99123
124+ ::std::string
125+ CppNoexceptInterfaceFactory::get_string_property () noexcept {
126+ return " foo" ;
127+ }
128+
129+ void
130+ CppNoexceptInterfaceFactory::set_string_property (const ::std::string&) noexcept {
131+
132+ }
133+
100134}
0 commit comments