For those seeking the pinnacle of elegance, platinum oval
engagement rings
offer unmatched luxury and brilliance. Known for its naturally
white sheen, platinum enhances the sparkle of oval-cut diamonds
without the need for rhodium plating, maintaining its luster over
time.
https://krkjewels.c
On Tuesday, 27 May 2025 at 21:07:51 UTC, realhet wrote:
Interesting tricks: alias reassignment and
templateParameterValueSpecialization (wow! It avoids the
redeclaration error I normally get.).
There bugs here, it works in this case(I have theories why) and
in opend its considered a regress
On Tuesday, 27 May 2025 at 15:01:38 UTC, monkyyy wrote:
On Tuesday, 27 May 2025 at 10:20:40 UTC, realhet wrote:
Hi and thanks for trying!
t2!(x) //The problem with this is the __LINE__ will point to the
alias declaration, not the pragma.
Interesting trick: template nested inside a templat
On Tuesday, 27 May 2025 at 10:20:40 UTC, realhet wrote:
Hello,
```d
template T1(string FILE=__FILE__, size_t LINE=__LINE__, A...)
{
enum T1 = FILE ~ LINE.text ~ A.text;
}
pragma(msg, T1!(__FILE__,__LINE__, "hello", " world")); //works
pragma(msg, T1!(__FILE__,__LINE__,i"Hello $("World")")); //w
Hello,
```d
template T1(string FILE=__FILE__, size_t LINE=__LINE__, A...)
{
enum T1 = FILE ~ LINE.text ~ A.text;
}
pragma(msg, T1!(__FILE__,__LINE__, "hello", " world")); //works
pragma(msg, T1!(__FILE__,__LINE__,i"Hello $("World")")); //works
pragma(msg, T1!(i"Hello $("World")")); //error: does