@@ -583,7 +583,7 @@ namespace etl
583
583
// / Stub call for a member function. Run time instance.
584
584
// *************************************************************************
585
585
template <typename T, TReturn(T::*Method)(TParams...)>
586
- static ETL_CONSTEXPR14 TReturn method_stub (void * object, TParams... params) ETL_NOEXCEPT_EXPR(ETL_NOT_USING_EXCEPTIONS)
586
+ static ETL_CONSTEXPR14 TReturn method_stub (void * object, TParams... params)
587
587
{
588
588
T* p = static_cast <T*>(object);
589
589
return (p->*Method)(etl::forward<TParams>(params)...);
@@ -593,7 +593,7 @@ namespace etl
593
593
// / Stub call for a const member function. Run time instance.
594
594
// *************************************************************************
595
595
template <typename T, TReturn(T::*Method)(TParams...) const >
596
- static ETL_CONSTEXPR14 TReturn const_method_stub (void * object, TParams... params) ETL_NOEXCEPT_EXPR(ETL_NOT_USING_EXCEPTIONS)
596
+ static ETL_CONSTEXPR14 TReturn const_method_stub (void * object, TParams... params)
597
597
{
598
598
T* const p = static_cast <T*>(object);
599
599
return (p->*Method)(etl::forward<TParams>(params)...);
@@ -603,7 +603,7 @@ namespace etl
603
603
// / Stub call for a member function. Compile time instance.
604
604
// *************************************************************************
605
605
template <typename T, TReturn(T::*Method)(TParams...), T& Instance>
606
- static ETL_CONSTEXPR14 TReturn method_instance_stub (void *, TParams... params) ETL_NOEXCEPT_EXPR(ETL_NOT_USING_EXCEPTIONS)
606
+ static ETL_CONSTEXPR14 TReturn method_instance_stub (void *, TParams... params)
607
607
{
608
608
return (Instance.*Method)(etl::forward<TParams>(params)...);
609
609
}
@@ -612,7 +612,7 @@ namespace etl
612
612
// / Stub call for a const member function. Compile time instance.
613
613
// *************************************************************************
614
614
template <typename T, TReturn(T::*Method)(TParams...) const , const T& Instance>
615
- static ETL_CONSTEXPR14 TReturn const_method_instance_stub (void *, TParams... params) ETL_NOEXCEPT_EXPR(ETL_NOT_USING_EXCEPTIONS)
615
+ static ETL_CONSTEXPR14 TReturn const_method_instance_stub (void *, TParams... params)
616
616
{
617
617
return (Instance.*Method)(etl::forward<TParams>(params)...);
618
618
}
@@ -622,7 +622,7 @@ namespace etl
622
622
// / Stub call for a function operator. Compile time instance.
623
623
// *************************************************************************
624
624
template <typename T, T& Instance>
625
- static ETL_CONSTEXPR14 TReturn operator_instance_stub (void *, TParams... params) ETL_NOEXCEPT_EXPR(ETL_NOT_USING_EXCEPTIONS)
625
+ static ETL_CONSTEXPR14 TReturn operator_instance_stub (void *, TParams... params)
626
626
{
627
627
return Instance.operator ()(etl::forward<TParams>(params)...);
628
628
}
@@ -632,7 +632,7 @@ namespace etl
632
632
// / Stub call for a free function.
633
633
// *************************************************************************
634
634
template <TReturn(*Method)(TParams...)>
635
- static ETL_CONSTEXPR14 TReturn function_stub (void *, TParams... params) ETL_NOEXCEPT_EXPR(ETL_NOT_USING_EXCEPTIONS)
635
+ static ETL_CONSTEXPR14 TReturn function_stub (void *, TParams... params)
636
636
{
637
637
return (Method)(etl::forward<TParams>(params)...);
638
638
}
@@ -641,7 +641,7 @@ namespace etl
641
641
// / Stub call for a lambda or functor function.
642
642
// *************************************************************************
643
643
template <typename TLambda>
644
- static ETL_CONSTEXPR14 TReturn lambda_stub (void * object, TParams... arg) ETL_NOEXCEPT_EXPR(ETL_NOT_USING_EXCEPTIONS)
644
+ static ETL_CONSTEXPR14 TReturn lambda_stub (void * object, TParams... arg)
645
645
{
646
646
TLambda* p = static_cast <TLambda*>(object);
647
647
return (p->operator ())(etl::forward<TParams>(arg)...);
@@ -651,7 +651,7 @@ namespace etl
651
651
// / Stub call for a const lambda or functor function.
652
652
// *************************************************************************
653
653
template <typename TLambda>
654
- static ETL_CONSTEXPR14 TReturn const_lambda_stub (void * object, TParams... arg) ETL_NOEXCEPT_EXPR(ETL_NOT_USING_EXCEPTIONS)
654
+ static ETL_CONSTEXPR14 TReturn const_lambda_stub (void * object, TParams... arg)
655
655
{
656
656
const TLambda* p = static_cast <const TLambda*>(object);
657
657
return (p->operator ())(etl::forward<TParams>(arg)...);
0 commit comments