my ~master (2022-05-17T07:50:13Z)
Dub
Repo
NamedType.opBinary
my
named_type
NamedType
Undocumented in source. Be warned that the author may not have intended to support it.
auto
opBinary
(typeof(this) rhs)
auto
opBinary
(typeof(this) rhs)
auto
opBinary
(typeof(this) rhs)
struct
NamedType
(T, TagT = Tag!(T.stringof), T init = T.init, TraitsT...)
static if
(!(
is(Tr == Comparable)
))
static if
(!(
is(Tr == Hashable)
))
static if
(!(
is(Tr == Incrementable)
))
static if
(!(
is(Tr == Decrementable)
))
static if
(!(
is(Tr == Addable)
))
static if
(!(
is(Tr == Subtractable)
))
static if
(
is(Tr == Modulable)
)
auto
opBinary
(
string
op
)
(
typeof
(this)
rhs
)
if
(
op
== "%"
)
if
(
is
(
TagT
:
Tag
!
U
,
alias
U
)
)
auto
opBinary
(typeof(this) rhs)
auto
opBinary
(typeof(this) rhs)
Meta
Source
See Implementation
my
named_type
NamedType
aliases
Tag
ThisT
Traits
Type
constructors
this
functions
empty
get
getPtr
length
opBinary
opCast
opCmp
opEquals
opUnary
toHash
toString
static functions
argument
make
templates
ReplaceTrait