Skip to content

(library-wide) Remove inline from variable templates #7240

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions source/exec.tex
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,7 @@
enum class forward_progress_guarantee;
inline constexpr get_forward_progress_guarantee_t get_forward_progress_guarantee{};
template<class CPO>
inline constexpr get_completion_scheduler_t<CPO> get_completion_scheduler{};
constexpr get_completion_scheduler_t<CPO> get_completion_scheduler{};

struct empty_env {};
struct get_env_t { @\unspec@ };
Expand Down Expand Up @@ -550,7 +550,7 @@

template<class Sndr, class Env = empty_env>
requires @\libconcept{sender_in}@<Sndr, Env>
inline constexpr bool sends_stopped = @\seebelow@;
constexpr bool sends_stopped = @\seebelow@;

template<class Sndr, class Env>
using @\exposidnc{single-sender-value-type}@ = @\seebelownc@; // \expos
Expand Down Expand Up @@ -4827,7 +4827,7 @@

template<class Sndr, class Env = empty_env>
requires @\libconcept{sender_in}@<Sndr, Env>
inline constexpr bool sends_stopped =
constexpr bool sends_stopped =
!@\libconcept{same_as}@<@\exposid{type-list}@<>,
@\exposid{gather-signatures}@<set_stopped_t, completion_signatures_of_t<Sndr, Env>,
@\exposid{type-list}@, @\exposid{type-list}@>>;
Expand Down
4 changes: 2 additions & 2 deletions source/time.tex
Original file line number Diff line number Diff line change
Expand Up @@ -10834,7 +10834,7 @@
of \tcode{enable_nonlocking_formatter_optimization}:
\begin{codeblock}
template<class Rep, class Period>
inline constexpr bool enable_nonlocking_formatter_optimization<
constexpr bool enable_nonlocking_formatter_optimization<
chrono::duration<Rep, Period>> =
enable_nonlocking_formatter_optimization<Rep>;
\end{codeblock}
Expand All @@ -10845,7 +10845,7 @@
\tcode{enable_nonlocking_formatter_optimization}:
\begin{codeblock}
template<class Duration>
inline constexpr bool enable_nonlocking_formatter_optimization<
constexpr bool enable_nonlocking_formatter_optimization<
chrono::zoned_time<Duration, const std::chrono::time_zone*>> = true;
\end{codeblock}

Expand Down
4 changes: 2 additions & 2 deletions source/utilities.tex
Original file line number Diff line number Diff line change
Expand Up @@ -15896,7 +15896,7 @@

template<ranges::input_range R>
requires (format_kind<R> != range_format::disabled)
inline constexpr bool enable_nonlocking_formatter_optimization<R> = false;
constexpr bool enable_nonlocking_formatter_optimization<R> = false;

// \ref{format.arguments}, arguments
// \ref{format.arg}, class template \tcode{basic_format_arg}
Expand Down Expand Up @@ -18799,7 +18799,7 @@
};

template<class... Ts>
inline constexpr bool enable_nonlocking_formatter_optimization<@\placeholder{pair-or-tuple}@<Ts...>> =
constexpr bool enable_nonlocking_formatter_optimization<@\placeholder{pair-or-tuple}@<Ts...>> =
(enable_nonlocking_formatter_optimization<Ts> && ...);
}
\end{codeblock}
Expand Down
Loading