May 04, 2019 LDC » Re: Cortex-M3 low level assert issue. | |||
|---|---|---|---|
| |||
...pragma(LDC_no_typeinfo)
struct Bar {
pragma(LDC_no_typeinfo)
struct Baz {
}
}
}
void foo() {
assert... | |||
April 14, 2019 General » Re: does D already have too many language features ? | |||
|---|---|---|---|
| |||
...won't need a no-return pragma and special assert(0) semantics. Things like 'break... | |||
April 04, 2019 General » Re: I give up! I tried to create a reflection library but D's traits are just too screwed up! | |||
|---|---|---|---|
| |||
...traits(getVirtualMethods, T, m)))
{{
//pragma(msg, T.stringof...x; float y; }
static assert(is(Fields!S... | |||
April 03, 2019 General » I give up! I tried to create a reflection library but D's traits are just too screwed up! | |||
|---|---|---|---|
| |||
...it work.
int main()
{
pragma(msg, printModelHierarchy(Reflect...template KeyTypeOfAssociativeArray (T) { static assert(isAssociativeArray!(Unqual!(T... | |||
March 30, 2019 Issues » [Issue 19775] New: multiple argument string mixin doesn't expand tuples | |||
|---|---|---|---|
| |||
...makeIdent(args...) = mixin(args);
pragma(msg, makeIdent!("x...0], args[1], "`");
static assert(ctText!(5, " bottles... | |||
March 22, 2019 General » Re: Generality creep | |||
|---|---|---|---|
| |||
...3 instantiations
assert(a.property1 == a);
assert(b...auto ref T a)
{
pragma(msg, T.stringof... | |||
March 17, 2019 Genel » Üye fonksiyonu şablon olarak geçmek | |||
|---|---|---|---|
| |||
...delegate)) // <-- İSPATLAMA İÇİN EKLEDİM
{
assert(func() == 42);
}
struct...auto f2 = &func; // <-- BU
pragma(msg, typeof(f2... | |||
March 07, 2019 General » Re: Better error messages - from reddit | |||
|---|---|---|---|
| |||
...way to emit error messages! The pragma msg/static assert approaches all don't compose... | |||
March 04, 2019 Genel » dmd seçenekleri | |||
|---|---|---|---|
| |||
...programı oluşturma (bağlama) * ** -check=[assert|bounds|in|invariant...bildirilmesi gerekir) * ** -ignore** Bilinmeyeen 'pragma'ları gözardı et... | |||
February 24, 2019 Issues » [Issue 19698] New: ReplaceType barfs on enums with base type of string | |||
|---|---|---|---|
| |||
...E : string { one = "one" }
pragma(msg, ReplaceType!(int, int, E));
static assert(is(ReplaceType!(int... | |||
Copyright © 1999-2021 by the D Language Foundation