/dports/editors/kakoune/kakoune-2021.11.08/src/ |
H A D | optional.hh | 12 struct Optional struct 15 constexpr Optional() : m_valid{false} {} in Optional() argument 16 Optional(const T& other) : m_valid{true} { new (&m_value) T(other); } in Optional() argument 17 Optional(T&& other) : m_valid{true} { new (&m_value) T(std::move(other)); } in Optional() argument 19 Optional(const Optional& other) in Optional() argument 26 Optional(Optional&& other) in Optional() argument 71 T& operator*() & in operator *() 86 T* operator->() in operator ->() 124 struct Empty {}; 126 { [all …]
|
/dports/sysutils/xfce4-cpugraph-plugin/xfce4-cpugraph-plugin-1.2.5/xfce4++/util/ |
H A D | optional.h | 38 struct Optional { struct 39 Optional() { exists = false; } in Optional() argument 40 Optional(const T &value) { exists = true; new (valuePtr()) T(value); } in Optional() argument 41 Optional(T &&value) { exists = true; new (valuePtr()) T(std::move(value)); } in Optional() argument 43 Optional(const Optional &o) { exists = false; *this = o; } in Optional() argument 44 Optional(Optional &&o) { exists = false; *this = std::move(o); } in Optional() argument 46 ~Optional() { in ~Optional() argument 99 bool has_value() const { return exists; } in has_value() 100 const T& value() const { g_assert(exists); return *constValuePtr(); } in value() 101 T& value() { g_assert(exists); return *valuePtr(); } in value() [all …]
|
/dports/databases/cayley/cayley-0.7.5-2-gcf576ba/graph/iterator/ |
H A D | optional.go | 43 type Optional struct { struct 44 uid uint64 45 tags graph.Tagger 46 subIt graph.Iterator 47 lastCheck bool 48 result graph.Value 49 err error 60 func (it *Optional) UID() uint64 { 64 func (it *Optional) Reset() { 83 func (it *Optional) Err() error { [all …]
|
/dports/databases/postgresql13-pltcl/postgresql-13.5/src/test/regress/input/ |
H A D | constraints.source | 48 DROP TABLE error_tbl; 50 -- 51 -- CHECK syntax 52 -- 53 54 CREATE TABLE CHECK_TBL (x int, 93 INSERT INTO INSERT_TBL(x,z) VALUES (2, -2); 102 INSERT INTO INSERT_TBL(z,x) VALUES (-7, 7); 109 INSERT INTO INSERT_TBL(y,z) VALUES ('check failed', 4); 114 SELECT '' AS six, * FROM INSERT_TBL;
|
/dports/audio/surge-synthesizer-lv2/surge-release_1.9.0/vst3sdk/public.sdk/source/vst/hosting/ |
H A D | optional.h | 48 struct Optional struct 50 Optional () noexcept : valid (false) {} in Optional() argument 51 explicit Optional (const T& v) noexcept : value (v), valid (true) {} in Optional() argument 52 Optional (T&& v) noexcept : value (std::move (v)), valid (true) {} in Optional() argument 54 Optional (Optional&& other) noexcept { *this = std::move (other); } in Optional() function 92 void swap (T& other) noexcept in swap() 102 bool valid; 108 void setValidationChecked () const in setValidationChecked() 114 void checkValid () const in checkValid()
|
/dports/audio/carla/Carla-2.4.1/source/modules/hylia/link/ableton/link/ |
H A D | Optional.hpp | 32 struct Optional struct 34 Optional() in Optional() function 39 explicit Optional(T value) in Optional() argument 47 Optional(Optional&& other) in Optional() function 62 explicit operator bool() const in operator bool() 67 const T& operator*() const in operator *() 73 T& operator*() in operator *() 79 const T* operator->() const in operator ->() 85 T* operator->() in operator ->() 92 T mValue; [all …]
|
/dports/audio/supercollider/SuperCollider-3.11.0-Source/external_libraries/link/include/ableton/link/ |
H A D | Optional.hpp | 32 struct Optional struct 34 Optional() in Optional() argument 39 explicit Optional(T value) in Optional() argument 47 Optional(Optional&& other) in Optional() function 62 explicit operator bool() const in operator bool() 67 const T& operator*() const in operator *() 73 T& operator*() in operator *() 79 const T* operator->() const in operator ->() 85 T* operator->() in operator ->() 92 T mValue; [all …]
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/angle/src/common/ |
H A D | Optional.h | 16 struct Optional struct 18 Optional() : mValid(false), mValue(T()) {} in Optional() function 20 Optional(const T &valueIn) : mValid(true), mValue(valueIn) {} in Optional() argument 22 Optional(const Optional &other) : mValid(other.mValid), mValue(other.mValue) {} in Optional() function 52 static Optional Invalid() { return Optional(); } in Invalid() argument 58 bool operator==(const Optional &other) const argument 71 T mValue;
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/angle/src/common/ |
H A D | Optional.h | 16 struct Optional struct 18 Optional() : mValid(false), mValue(T()) {} in Optional() function 20 Optional(const T &valueIn) : mValid(true), mValue(valueIn) {} in Optional() argument 22 Optional(const Optional &other) : mValid(other.mValid), mValue(other.mValue) {} in Optional() argument 52 static Optional Invalid() { return Optional(); } in Invalid() argument 58 bool operator==(const Optional &other) const argument 71 T mValue;
|
/dports/www/firefox-esr/firefox-91.8.0/gfx/angle/checkout/src/common/ |
H A D | Optional.h | 16 struct Optional struct 18 Optional() : mValid(false), mValue(T()) {} in Optional() argument 20 Optional(const T &valueIn) : mValid(true), mValue(valueIn) {} in Optional() function 22 Optional(const Optional &other) : mValid(other.mValid), mValue(other.mValue) {} in Optional() function 52 static Optional Invalid() { return Optional(); } in Invalid() argument 58 bool operator==(const Optional &other) const argument 71 T mValue;
|
/dports/lang/spidermonkey78/firefox-78.9.0/gfx/angle/checkout/src/common/ |
H A D | Optional.h | 16 struct Optional struct 18 Optional() : mValid(false), mValue(T()) {} in Optional() argument 20 Optional(const T &valueIn) : mValid(true), mValue(valueIn) {} in Optional() argument 22 Optional(const Optional &other) : mValid(other.mValid), mValue(other.mValue) {} in Optional() argument 52 static Optional Invalid() { return Optional(); } in Invalid() argument 58 bool operator==(const Optional &other) const argument 71 T mValue;
|
/dports/www/firefox/firefox-99.0/gfx/angle/checkout/src/common/ |
H A D | Optional.h | 16 struct Optional struct 18 Optional() : mValid(false), mValue(T()) {} in Optional() function 20 Optional(const T &valueIn) : mValid(true), mValue(valueIn) {} in Optional() argument 22 Optional(const Optional &other) : mValid(other.mValid), mValue(other.mValue) {} in Optional() function 52 static Optional Invalid() { return Optional(); } in Invalid() argument 58 bool operator==(const Optional &other) const argument 71 T mValue;
|
/dports/mail/thunderbird/thunderbird-91.8.0/gfx/angle/checkout/src/common/ |
H A D | Optional.h | 16 struct Optional struct 18 Optional() : mValid(false), mValue(T()) {} in Optional() function 20 Optional(const T &valueIn) : mValid(true), mValue(valueIn) {} in Optional() function 22 Optional(const Optional &other) : mValid(other.mValid), mValue(other.mValue) {} in Optional() function 52 static Optional Invalid() { return Optional(); } in Invalid() argument 58 bool operator==(const Optional &other) const argument 71 T mValue;
|
/dports/devel/php-ice37/ice-3.7.2/csharp/src/Ice/ |
H A D | Optional.cs | 19 public struct Optional<T> : ISerializable struct 24 public Optional(NoneType none) in Optional() argument 33 public Optional(T v) in Optional() argument 42 public Optional(Optional<T> v) in Optional() argument 53 public Optional(SerializationInfo info, StreamingContext context) in Optional() argument 98 public T Value 114 public bool HasValue 122 public override bool Equals(object other) in Equals() 155 public override int GetHashCode() in GetHashCode() 181 private T _value; [all …]
|
/dports/devel/ice37/ice-3.7.2/csharp/src/Ice/ |
H A D | Optional.cs | 19 public struct Optional<T> : ISerializable struct 24 public Optional(NoneType none) in Optional() method 33 public Optional(T v) in Optional() method 42 public Optional(Optional<T> v) in Optional() argument 53 public Optional(SerializationInfo info, StreamingContext context) in Optional() method 98 public T Value 114 public bool HasValue 122 public override bool Equals(object other) in Equals() 155 public override int GetHashCode() in GetHashCode() 181 private T _value; [all …]
|
/dports/devel/py-ice37/ice-3.7.2/csharp/src/Ice/ |
H A D | Optional.cs | 19 public struct Optional<T> : ISerializable struct 24 public Optional(NoneType none) in Optional() argument 33 public Optional(T v) in Optional() method 42 public Optional(Optional<T> v) in Optional() argument 53 public Optional(SerializationInfo info, StreamingContext context) in Optional() argument 98 public T Value 114 public bool HasValue 122 public override bool Equals(object other) in Equals() 155 public override int GetHashCode() in GetHashCode() 181 private T _value; [all …]
|
/dports/databases/qt5-sqldrivers-sqlite3/kde-qtbase-5.15.2p263/src/3rdparty/angle/src/common/ |
H A D | Optional.h | 16 struct Optional struct 18 Optional() : mValid(false), mValue(T()) {} in Optional() argument 20 Optional(const T &valueIn) : mValid(true), mValue(valueIn) {} in Optional() function 22 Optional(const Optional &other) : mValid(other.mValid), mValue(other.mValue) {} in Optional() function 47 static Optional Invalid() { return Optional(); } in Invalid() argument 52 bool operator==(const Optional &other) const argument 65 T mValue;
|
/dports/databases/qt5-sqldrivers-tds/kde-qtbase-5.15.2p263/src/3rdparty/angle/src/common/ |
H A D | Optional.h | 16 struct Optional struct 18 Optional() : mValid(false), mValue(T()) {} in Optional() argument 20 Optional(const T &valueIn) : mValid(true), mValue(valueIn) {} in Optional() function 22 Optional(const Optional &other) : mValid(other.mValid), mValue(other.mValue) {} in Optional() argument 47 static Optional Invalid() { return Optional(); } in Invalid() argument 52 bool operator==(const Optional &other) const argument 65 T mValue;
|
/dports/devel/qt5-qmake/kde-qtbase-5.15.2p263/src/3rdparty/angle/src/common/ |
H A D | Optional.h | 16 struct Optional struct 18 Optional() : mValid(false), mValue(T()) {} in Optional() function 20 Optional(const T &valueIn) : mValid(true), mValue(valueIn) {} in Optional() function 22 Optional(const Optional &other) : mValid(other.mValid), mValue(other.mValue) {} in Optional() function 47 static Optional Invalid() { return Optional(); } in Invalid() argument 52 bool operator==(const Optional &other) const argument 65 T mValue;
|
/dports/databases/qt5-sqldrivers-ibase/kde-qtbase-5.15.2p263/src/3rdparty/angle/src/common/ |
H A D | Optional.h | 16 struct Optional struct 18 Optional() : mValid(false), mValue(T()) {} in Optional() function 20 Optional(const T &valueIn) : mValid(true), mValue(valueIn) {} in Optional() function 22 Optional(const Optional &other) : mValid(other.mValid), mValue(other.mValue) {} in Optional() function 47 static Optional Invalid() { return Optional(); } in Invalid() argument 52 bool operator==(const Optional &other) const argument 65 T mValue;
|
/dports/databases/qt5-sqldrivers-mysql/kde-qtbase-5.15.2p263/src/3rdparty/angle/src/common/ |
H A D | Optional.h | 16 struct Optional struct 18 Optional() : mValid(false), mValue(T()) {} in Optional() function 20 Optional(const T &valueIn) : mValid(true), mValue(valueIn) {} in Optional() function 22 Optional(const Optional &other) : mValid(other.mValid), mValue(other.mValue) {} in Optional() argument 47 static Optional Invalid() { return Optional(); } in Invalid() argument 52 bool operator==(const Optional &other) const argument 65 T mValue;
|
/dports/databases/qt5-sql/kde-qtbase-5.15.2p263/src/3rdparty/angle/src/common/ |
H A D | Optional.h | 16 struct Optional struct 18 Optional() : mValid(false), mValue(T()) {} in Optional() argument 20 Optional(const T &valueIn) : mValid(true), mValue(valueIn) {} in Optional() function 22 Optional(const Optional &other) : mValid(other.mValid), mValue(other.mValue) {} in Optional() function 47 static Optional Invalid() { return Optional(); } in Invalid() argument 52 bool operator==(const Optional &other) const argument 65 T mValue;
|
/dports/databases/qt5-sqldrivers-pgsql/kde-qtbase-5.15.2p263/src/3rdparty/angle/src/common/ |
H A D | Optional.h | 16 struct Optional struct 18 Optional() : mValid(false), mValue(T()) {} in Optional() argument 20 Optional(const T &valueIn) : mValid(true), mValue(valueIn) {} in Optional() function 22 Optional(const Optional &other) : mValid(other.mValid), mValue(other.mValue) {} in Optional() argument 47 static Optional Invalid() { return Optional(); } in Invalid() argument 52 bool operator==(const Optional &other) const argument 65 T mValue;
|
/dports/databases/qt5-sqldrivers-sqlite2/kde-qtbase-5.15.2p263/src/3rdparty/angle/src/common/ |
H A D | Optional.h | 16 struct Optional struct 18 Optional() : mValid(false), mValue(T()) {} in Optional() argument 20 Optional(const T &valueIn) : mValid(true), mValue(valueIn) {} in Optional() argument 22 Optional(const Optional &other) : mValid(other.mValid), mValue(other.mValue) {} in Optional() function 47 static Optional Invalid() { return Optional(); } in Invalid() argument 52 bool operator==(const Optional &other) const argument 65 T mValue;
|
/dports/databases/qt5-sqldrivers-odbc/kde-qtbase-5.15.2p263/src/3rdparty/angle/src/common/ |
H A D | Optional.h | 16 struct Optional struct 18 Optional() : mValid(false), mValue(T()) {} in Optional() function 20 Optional(const T &valueIn) : mValid(true), mValue(valueIn) {} in Optional() function 22 Optional(const Optional &other) : mValid(other.mValid), mValue(other.mValue) {} in Optional() function 47 static Optional Invalid() { return Optional(); } in Invalid() argument 52 bool operator==(const Optional &other) const argument 65 T mValue;
|