mirror of
https://github.com/Naios/continuable.git
synced 2026-02-17 07:39:49 +08:00
remove public from struct inhertance
This commit is contained in:
parent
0497380b0a
commit
d03b952c8a
@ -29,11 +29,11 @@ namespace detail
|
|||||||
/// Trait to identify continuable types
|
/// Trait to identify continuable types
|
||||||
template<typename _CTy>
|
template<typename _CTy>
|
||||||
struct is_continuable
|
struct is_continuable
|
||||||
: public std::false_type { };
|
: std::false_type { };
|
||||||
|
|
||||||
template<typename... Args>
|
template<typename... Args>
|
||||||
struct is_continuable<Continuable<Args...>>
|
struct is_continuable<Continuable<Args...>>
|
||||||
: public std::true_type { };
|
: std::true_type { };
|
||||||
|
|
||||||
/// Creates an empty callback.
|
/// Creates an empty callback.
|
||||||
template<typename _FTy>
|
template<typename _FTy>
|
||||||
@ -458,7 +458,7 @@ namespace detail
|
|||||||
|
|
||||||
template<std::size_t Position, typename Args, typename Pack, typename Next, typename... Rest>
|
template<std::size_t Position, typename Args, typename Pack, typename Next, typename... Rest>
|
||||||
struct multiple_result_maker<Position, Args, Pack, Next, Rest...>
|
struct multiple_result_maker<Position, Args, Pack, Next, Rest...>
|
||||||
: public multiple_result_maker<
|
: multiple_result_maker<
|
||||||
Position + 1,
|
Position + 1,
|
||||||
typename concat_identities<
|
typename concat_identities<
|
||||||
Args,
|
Args,
|
||||||
|
|||||||
@ -51,7 +51,7 @@ namespace fu
|
|||||||
|
|
||||||
template<std::size_t Position, std::size_t... Stack>
|
template<std::size_t Position, std::size_t... Stack>
|
||||||
struct sequence_generator<Position, Stack...>
|
struct sequence_generator<Position, Stack...>
|
||||||
: public sequence_generator<Position - 1, Position - 1, Stack...> { };
|
: sequence_generator<Position - 1, Position - 1, Stack...> { };
|
||||||
|
|
||||||
/// Sequence generator alias
|
/// Sequence generator alias
|
||||||
template<std::size_t Size>
|
template<std::size_t Size>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user