Skip to content

Commit 7806a32

Browse files
committed
Tag v29
1 parent 29872d6 commit 7806a32

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

ra/base.hh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ namespace ra {
2929
constexpr int VERSION = 29;
3030
constexpr int ANY = -1944444444; // only at ct, meaning tbd at rt
3131
constexpr int BAD = -1988888888; // undefined, eg dead axes
32-
constexpr int MIS = -1922222222; // only from choose_len
32+
constexpr int MIS = -1922222222; // only from choose_len
3333

3434
using rank_t = int;
3535
using dim_t = std::ptrdiff_t;
@@ -111,7 +111,7 @@ concept SliceConcept = requires (A a)
111111
template <class A> constexpr bool JOIN(NAME, _def) = requires { requires PRED; }; \
112112
template <class A> concept NAME = JOIN(NAME, _def)<std::decay_t< A >>;
113113

114-
RA_IS_DEF(is_scalar, (!std::is_pointer_v<A> && std::is_scalar_v<A> || ra::is_constant<A>))
114+
RA_IS_DEF(is_scalar, (!std::is_pointer_v<A> && std::is_scalar_v<A> || is_constant<A>))
115115
template <> constexpr bool is_scalar_def<std::strong_ordering> = true;
116116
template <> constexpr bool is_scalar_def<std::weak_ordering> = true;
117117
template <> constexpr bool is_scalar_def<std::partial_ordering> = true;
@@ -245,7 +245,7 @@ enum shape_t { defaultshape, withshape, noshape };
245245
struct format_t
246246
{
247247
shape_t shape = defaultshape;
248-
std::string open = "", close = "", sep0 = " ", sepn = "\n", rep = "\n";
248+
std::string open="", close="", sep0=" ", sepn="\n", rep="\n";
249249
bool align = false;
250250
};
251251

@@ -259,7 +259,7 @@ template <class A> struct Fmt { format_t f = {}; A a; };
259259
template <class A> constexpr auto fmt(format_t f, A && a) { return Fmt<A> { f, RA_FWD(a) }; }
260260

261261
// exclude std::string_view so it still prints as a string [ra13].
262-
RA_IS_DEF(is_array_formattable, ra::is_ra<A> || (ra::is_fov<A> && !std::is_convertible_v<A, std::string_view>));
262+
RA_IS_DEF(is_array_formattable, is_ra<A> || (is_fov<A> && !std::is_convertible_v<A, std::string_view>));
263263

264264
constexpr std::ostream & operator<<(std::ostream & o, is_array_formattable auto && a) { return o << fmt({}, RA_FWD(a)); }
265265
template <class T>

0 commit comments

Comments
 (0)