@@ -71,7 +71,7 @@ namespace etl
71
71
// / \param f The delegate to be invoked.
72
72
// / \param args The arguments to bind to the delegate.
73
73
// *********************************************************************
74
- ETL_CONSTEXPR14 closure (const delegate_type& f, const TArgs... args) ETL_NOEXCEPT_EXPR(ETL_NOT_USING_EXCEPTIONS)
74
+ ETL_CONSTEXPR14 closure (const delegate_type& f, const TArgs... args)
75
75
: m_f(f)
76
76
, m_args(args...)
77
77
{
@@ -81,7 +81,7 @@ namespace etl
81
81
// / Invoke the stored delegate with the bound arguments.
82
82
// / \return The result of the delegate invocation.
83
83
// *********************************************************************
84
- ETL_CONSTEXPR14 TReturn operator ()() const ETL_NOEXCEPT_EXPR(ETL_NOT_USING_EXCEPTIONS)
84
+ ETL_CONSTEXPR14 TReturn operator ()() const
85
85
{
86
86
return execute (etl::index_sequence_for<TArgs...>{});
87
87
}
@@ -94,7 +94,7 @@ namespace etl
94
94
// / \param arg The new value to bind.
95
95
// *********************************************************************
96
96
template <size_t Index, typename UArg>
97
- ETL_CONSTEXPR14 void bind (UArg arg) ETL_NOEXCEPT_EXPR(ETL_NOT_USING_EXCEPTIONS)
97
+ ETL_CONSTEXPR14 void bind (UArg arg)
98
98
{
99
99
static_assert (etl::is_convertible<UArg, etl::type_list_type_at_index_t <argument_types, Index>>::value, " Argument is not convertible" );
100
100
static_assert (!etl::is_reference<UArg>::value, " Cannot bind reference arguments" );
@@ -108,7 +108,7 @@ namespace etl
108
108
// / \param args The new values to bind.
109
109
// /*********************************************************************
110
110
template <typename ... UArgs>
111
- ETL_CONSTEXPR14 void bind (UArgs&&... args) ETL_NOEXCEPT_EXPR(ETL_NOT_USING_EXCEPTIONS)
111
+ ETL_CONSTEXPR14 void bind (UArgs&&... args)
112
112
{
113
113
static_assert (sizeof ...(UArgs) == sizeof ...(TArgs), " Argument count mismatch" );
114
114
bind_impl (etl::make_index_sequence<sizeof ...(TArgs)>{}, etl::forward<UArgs>(args)...);
@@ -121,7 +121,7 @@ namespace etl
121
121
// / \param args The new values to bind.
122
122
// /*********************************************************************
123
123
template <size_t ... Indexes, typename ... UArgs>
124
- ETL_CONSTEXPR14 void bind_impl (etl::index_sequence<Indexes...>, UArgs&&... args) ETL_NOEXCEPT_EXPR(ETL_NOT_USING_EXCEPTIONS)
124
+ ETL_CONSTEXPR14 void bind_impl (etl::index_sequence<Indexes...>, UArgs&&... args)
125
125
{
126
126
// Expand the pack and call bind<Index>(arg) for each argument
127
127
int dummy[] = {0 , (bind<Indexes>(etl::forward<UArgs>(args)), 0 )...};
@@ -134,7 +134,7 @@ namespace etl
134
134
// / \return The result of the delegate invocation.
135
135
// *********************************************************************
136
136
template <size_t ... Indexes>
137
- ETL_CONSTEXPR14 TReturn execute (etl::index_sequence<Indexes...>) const ETL_NOEXCEPT_EXPR(ETL_NOT_USING_EXCEPTIONS)
137
+ ETL_CONSTEXPR14 TReturn execute (etl::index_sequence<Indexes...>) const
138
138
{
139
139
return m_f (etl::get<Indexes>(m_args)...);
140
140
}
0 commit comments