Make the old error and dispatch tag not throw deprecation warnings for now

This commit is contained in:
Denis Blank 2018-11-22 00:48:02 +01:00
parent 057fb37123
commit 815c3d71b9

View File

@ -73,7 +73,7 @@ namespace cti {
/// for whether it resolves the callback instantly with its arguments /// for whether it resolves the callback instantly with its arguments
/// without having side effects. /// without having side effects.
/// ///
/// \since 4.0.0 /// \since 3.1.0
struct is_ready_arg_t {}; struct is_ready_arg_t {};
/// Represents the tag type that is used to query the continuation /// Represents the tag type that is used to query the continuation
@ -81,7 +81,7 @@ struct is_ready_arg_t {};
/// without having side effects. /// without having side effects.
/// It's required that the query of is_ready_arg_t returns true. /// It's required that the query of is_ready_arg_t returns true.
/// ///
/// \since 4.0.0 /// \since 3.1.0
struct get_arg_t {}; struct get_arg_t {};
/// Represents the tag type that is used to disambiguate the /// Represents the tag type that is used to disambiguate the
@ -89,7 +89,7 @@ struct get_arg_t {};
/// ///
/// \note see continuable::next for details. /// \note see continuable::next for details.
/// ///
/// \since 4.0.0 /// \since 3.1.0
struct exception_arg_t {}; struct exception_arg_t {};
/// \copydoc exception_arg_t /// \copydoc exception_arg_t
@ -98,8 +98,8 @@ struct exception_arg_t {};
/// to the types specified in the "A Unified Future" proposal /// to the types specified in the "A Unified Future" proposal
/// especially regarding naming types similar. /// especially regarding naming types similar.
/// ///
[[deprecated("The dispatch_error_tag was replaced by exception_arg_t and will " // [[deprecated("The dispatch_error_tag was replaced by exception_arg_t and
"be removed in a later major version!")]] // // "will be removed in a later major version!")]]
typedef exception_arg_t dispatch_error_tag; typedef exception_arg_t dispatch_error_tag;
/// Represents the type that is used as exception type /// Represents the type that is used as exception type
@ -110,7 +110,7 @@ typedef exception_arg_t dispatch_error_tag;
/// A custom error type may be set through /// A custom error type may be set through
/// defining `CONTINUABLE_WITH_CUSTOM_ERROR_TYPE`. /// defining `CONTINUABLE_WITH_CUSTOM_ERROR_TYPE`.
/// ///
/// \since 4.0.0 /// \since 3.1.0
using exception_t = detail::types::exception_t; using exception_t = detail::types::exception_t;
/// \copydoc exception_t /// \copydoc exception_t
@ -119,8 +119,8 @@ using exception_t = detail::types::exception_t;
/// to the types specified in the "A Unified Future" proposal /// to the types specified in the "A Unified Future" proposal
/// especially regarding naming types similar. /// especially regarding naming types similar.
/// ///
[[deprecated("The error_type was replaced by exception_t and will " // [[deprecated("The error_type was replaced by exception_t and "
"be removed in a later major version!")]] // // "will be removed in a later major version!")]] //
typedef exception_t error_type; typedef exception_t error_type;
/// \} /// \}
} // namespace cti } // namespace cti