diff --git a/fluent/Continuable.h b/fluent/Continuable.h index cea4967..b7d277e 100644 --- a/fluent/Continuable.h +++ b/fluent/Continuable.h @@ -23,11 +23,26 @@ namespace detail { + // ContinuableState forward declaration. /// The internal state of the continuable /// which is used to save certain internal types. template struct ContinuableState; + // ContinuableImpl forward declaration. + template + class _ContinuableImpl; + + // convert_void_to_continuable forward declaration. + /// Corrects void return types from functional types which should be + /// Continuable> + template + struct convert_void_to_continuable; + + // unary_chainer forward declaration. + template + struct unary_chainer; + template struct ContinuableState, _Proxy> { @@ -35,17 +50,6 @@ namespace detail typedef ContinuableState, void> DefaultContinuableState; - // ContinuableImpl Forward definition - template - class _ContinuableImpl; - - /// Corrects void return types from functional types which should be Continuable> - template - struct convert_void_to_continuable; - - template - struct unary_chainer; - // MSVC 12 has issues to detect the parameter pack otherwise. template struct unary_chainer<_NextRTy, fu::identity<_NextATy...>>