Hello,
How to count a number of parameters in uninitialized template
method?
For example:
struct Test
{
void abc(int a, bool status, string text)() {}
{
The method "Test.abc" has three template paramenters.
I know that "TemplateArgsOf" exists but it is used only for
INITIALIZED templa
On Saturday, 10 October 2020 at 02:07:02 UTC, Виталий Фадеев
wrote:
Wanted!
Docs generation example.
I have dub project, sources/*.d.
I want html-index with all classes/functions.
Is exists simple, hi-level, one-line command line solution ?
The more official way is: dub build --build=docs
Alt
On Saturday, 10 October 2020 at 20:32:22 UTC, DMon wrote:
On Saturday, 10 October 2020 at 19:55:44 UTC, Ali Çehreli wrote:
On 10/10/20 12:51 PM, DMon wrote:
Thank you for your and Imperatorns time.
Even if it did go in circles and get stuck in the mud.
No problem. We're doing it out of free
On Saturday, 10 October 2020 at 19:55:44 UTC, Ali Çehreli wrote:
On 10/10/20 12:51 PM, DMon wrote:
Thank you for your and Imperatorns time.
Even if it did go in circles and get stuck in the mud.
On 10/10/20 12:51 PM, DMon wrote:
> I will copy that down.
>
> The idea for specific exceptions came from the online docs and
> Programing in D, 39.2 The try-catch statemet
>
> try
> { // the code block that is being executed, where an // exception may be
> thrown
> }
> catch (an_exception_type)
On Saturday, 10 October 2020 at 18:16:45 UTC, Ali Çehreli wrote:
On 10/10/20 9:16 AM, DMon wrote:
> catch (Exception e) // implicit (any exception)
> catch (ConvException f) // explicit (conversion only)
>
> Or is that not correct?
I think in class hierarchies, "more general" and "more
specifi
On Sunday, 6 December 2015 at 12:27:49 UTC, cym13 wrote:
On Sunday, 6 December 2015 at 12:23:05 UTC, Tim K. wrote:
Hi! I have the following code:
int main(string[] argv)
{
import std.algorithm: sum;
import std.stdio: writeln;
uint[3] a1 = [1, 2, 3];
uint
On 10/10/20 9:16 AM, DMon wrote:
> catch (Exception e) // implicit (any exception)
> catch (ConvException f) // explicit (conversion only)
>
> Or is that not correct?
I think in class hierarchies, "more general" and "more specific" are
better terms. :)
The answer is, catch by the most general
On Saturday, 10 October 2020 at 02:07:02 UTC, Виталий Фадеев
wrote:
Wanted!
Docs generation example.
I have dub project, sources/*.d.
I want html-index with all classes/functions.
Is exists simple, hi-level, one-line command line solution ?
Alternatively:
1. Publish the 'blablah' package on t
On Saturday, 10 October 2020 at 16:00:47 UTC, Alaindevos wrote:
For a framework to be successful you need at least a minimum of
sample code in public domain.
For vibe it is none existent.
I could not even find demo code doing a redirect which is the
most basic stuff.
The number of books on a fr
On Saturday, 10 October 2020 at 16:37:23 UTC, Imperatorn wrote:
On Saturday, 10 October 2020 at 12:12:35 UTC, DMon wrote:
To clarify, do you want a list of *possible* exceptions, like
in Java?
Please.
I've been looking and thinking that I'm over complicating it for
myself so it may not be ne
On Saturday, 10 October 2020 at 12:12:35 UTC, DMon wrote:
Is there a list of a list of the exceptions or what can be used
with catch?
I'm thinking that I missed it and there is something easier
than breaking old code, scouring the site, or hypnotic
regression.
To clarify, do you want a list
On Thursday, 1 October 2020 at 06:32:23 UTC, Robert M. Münch
wrote:
Hi, we are currently using vibe.d for a prototype and I want to
post some experiences. I know one shouldn't only address the
problems but provide some solutions.
[...]
Have you tried Diamond?
https://code.dlang.org/packages
On Saturday, 10 October 2020 at 16:00:26 UTC, Ali Çehreli wrote:
On 10/10/20 8:46 AM, DMon wrote:
On Saturday, 10 October 2020 at 14:56:31 UTC, Ali Çehreli
wrote:
On 10/10/20 5:12 AM, DMon wrote:
Is there a list of a list of the exceptions or what can be
used with catch?
Only Throwable and c
For a framework to be successful you need at least a minimum of
sample code in public domain.
For vibe it is none existent.
I could not even find demo code doing a redirect which is the
most basic stuff.
The number of books on a framework is also an indication of the
success after a few years.
On 10/10/20 8:46 AM, DMon wrote:
On Saturday, 10 October 2020 at 14:56:31 UTC, Ali Çehreli wrote:
On 10/10/20 5:12 AM, DMon wrote:
Is there a list of a list of the exceptions or what can be used with
catch?
Only Throwable and classes that are derived from it can be thrown and
caught.
Ali
On Saturday, 10 October 2020 at 14:56:31 UTC, Ali Çehreli wrote:
On 10/10/20 5:12 AM, DMon wrote:
Is there a list of a list of the exceptions or what can be
used with catch?
Only Throwable and classes that are derived from it can be
thrown and caught.
Ali
Thanks for the reply.
I am looki
On 10/10/20 5:12 AM, DMon wrote:
Is there a list of a list of the exceptions or what can be used with catch?
I'm thinking that I missed it and there is something easier than
breaking old code, scouring the site, or hypnotic regression.
Only Throwable and classes that are derived from it can b
On Saturday, 10 October 2020 at 10:15:03 UTC, Marcone wrote:
wchar[100] buffer; // I don't want fixed size :(
wchar[] buffer; // no fixed size
buffer.length = GetWindowTextLength(hwn); // set it to the text
length of the window
// now get the text
GetDlgItemText(hwn, widget, buffer.ptr, buf
Is there a list of a list of the exceptions or what can be used
with catch?
I'm thinking that I missed it and there is something easier than
breaking old code, scouring the site, or hypnotic regression.
wchar[100] buffer; // I don't want fixed size :(
GetDlgItemText(hwn, widget, buffer.ptr, buffer.sizeof);
On Saturday, 10 October 2020 at 05:04:54 UTC, Anonymouse wrote:
On Saturday, 10 October 2020 at 02:07:02 UTC, Виталий Фадеев
wrote:
Wanted!
Docs generation example.
I have dub project, sources/*.d.
I want html-index with all classes/functions.
Is exists simple, hi-level, one-line command line
22 matches
Mail list logo