Skip to content

Commit 21e477f

Browse files
authored
[lib] Remove inline from variable templates (#7240)
1 parent db0ca10 commit 21e477f

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

source/exec.tex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -464,7 +464,7 @@
464464
enum class forward_progress_guarantee;
465465
inline constexpr get_forward_progress_guarantee_t get_forward_progress_guarantee{};
466466
template<class CPO>
467-
inline constexpr get_completion_scheduler_t<CPO> get_completion_scheduler{};
467+
constexpr get_completion_scheduler_t<CPO> get_completion_scheduler{};
468468

469469
struct empty_env {};
470470
struct get_env_t { @\unspec@ };
@@ -550,7 +550,7 @@
550550

551551
template<class Sndr, class Env = empty_env>
552552
requires @\libconcept{sender_in}@<Sndr, Env>
553-
inline constexpr bool sends_stopped = @\seebelow@;
553+
constexpr bool sends_stopped = @\seebelow@;
554554

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

48284828
template<class Sndr, class Env = empty_env>
48294829
requires @\libconcept{sender_in}@<Sndr, Env>
4830-
inline constexpr bool sends_stopped =
4830+
constexpr bool sends_stopped =
48314831
!@\libconcept{same_as}@<@\exposid{type-list}@<>,
48324832
@\exposid{gather-signatures}@<set_stopped_t, completion_signatures_of_t<Sndr, Env>,
48334833
@\exposid{type-list}@, @\exposid{type-list}@>>;

source/time.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10834,7 +10834,7 @@
1083410834
of \tcode{enable_nonlocking_formatter_optimization}:
1083510835
\begin{codeblock}
1083610836
template<class Rep, class Period>
10837-
inline constexpr bool enable_nonlocking_formatter_optimization<
10837+
constexpr bool enable_nonlocking_formatter_optimization<
1083810838
chrono::duration<Rep, Period>> =
1083910839
enable_nonlocking_formatter_optimization<Rep>;
1084010840
\end{codeblock}
@@ -10845,7 +10845,7 @@
1084510845
\tcode{enable_nonlocking_formatter_optimization}:
1084610846
\begin{codeblock}
1084710847
template<class Duration>
10848-
inline constexpr bool enable_nonlocking_formatter_optimization<
10848+
constexpr bool enable_nonlocking_formatter_optimization<
1084910849
chrono::zoned_time<Duration, const std::chrono::time_zone*>> = true;
1085010850
\end{codeblock}
1085110851

source/utilities.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15896,7 +15896,7 @@
1589615896

1589715897
template<ranges::input_range R>
1589815898
requires (format_kind<R> != range_format::disabled)
15899-
inline constexpr bool enable_nonlocking_formatter_optimization<R> = false;
15899+
constexpr bool enable_nonlocking_formatter_optimization<R> = false;
1590015900

1590115901
// \ref{format.arguments}, arguments
1590215902
// \ref{format.arg}, class template \tcode{basic_format_arg}
@@ -18799,7 +18799,7 @@
1879918799
};
1880018800

1880118801
template<class... Ts>
18802-
inline constexpr bool enable_nonlocking_formatter_optimization<@\placeholder{pair-or-tuple}@<Ts...>> =
18802+
constexpr bool enable_nonlocking_formatter_optimization<@\placeholder{pair-or-tuple}@<Ts...>> =
1880318803
(enable_nonlocking_formatter_optimization<Ts> && ...);
1880418804
}
1880518805
\end{codeblock}

0 commit comments

Comments
 (0)