Tim M Wrote:
> >> Andrei Alexandrescu Wrote:
> >>
> >>> I'm looking for a catchy phrase denoting this D idiom:
> >>>
> >>> template Blah(Stuff)
> >>> {
> >>> alias ... Blah;
> >>> }
> >>
> >> verbose templated declaration.
> >
> > As far as I'm concerned, we've found a winner right here ;)
>
Hello Tim,
On Sun, 15 Mar 2009 06:27:42 +1300, BCS wrote:
there is no compact form for alias but this
T Foo(T)(T t) { return t; }
is internally identical the the more verbose form:
template Foo(T) { T Foo(T t){ return t; } }
Hi BCS. On this page: http://www.digitalmars.com/d/1.0/template
On Sun, 15 Mar 2009 06:27:42 +1300, BCS wrote:
there is no compact form for alias but this
T Foo(T)(T t) { return t; }
is internally identical the the more verbose form:
template Foo(T) { T Foo(T t){ return t; } }
Hi BCS. On this page: http://www.digitalmars.com/d/1.0/template.html
sc
Thu, 12 Mar 2009 18:21:04 -0700, Andrei Alexandrescu wrote:
> Sergey Gromov wrote:
>> Thu, 12 Mar 2009 06:33:34 -0700, Andrei Alexandrescu wrote:
>>
>>> Hello,
>>>
>>> I'm looking for a catchy phrase denoting this D idiom:
>>>
>>> template Blah(Stuff)
>>> {
>>> alias ... Blah;
>>> }
>>>
>>> i
Andrei Alexandrescu wrote:
> "Eigen" in German means "its own", proper.
The only justification for using "Eigen" is this words awareness level
stemming from linear algebra; but D's idiom, for which a catchy phrase
is searched, does not have the degree of freedom of the objects for
which the wo
Hello Tim,
What's verbose about a template with a single declaration?
Verbose adj. "Using or containing a great and usually an excessive
number of words"
there is no compact form for alias but this
T Foo(T)(T t) { return t; }
is internally identical the the more verbose form:
template Fo
On Fri, 13 Mar 2009 22:49:00 +1300, Nick Sabalausky wrote:
"Kagamin" wrote in message
news:gpd8ka$1np...@digitalmars.com...
Andrei Alexandrescu Wrote:
I'm looking for a catchy phrase denoting this D idiom:
template Blah(Stuff)
{
alias ... Blah;
}
verbose templated declaration.
As f
Robert Fraser wrote:
Andrei Alexandrescu wrote:
Christopher Wright wrote:
Andrei Alexandrescu wrote:
Hello,
I'm looking for a catchy phrase denoting this D idiom:
template Blah(Stuff)
{
alias ... Blah;
}
i.e., defining inside a template a symbol of the same name as the
template itse
Andrei Alexandrescu wrote:
Christopher Wright wrote:
Andrei Alexandrescu wrote:
Hello,
I'm looking for a catchy phrase denoting this D idiom:
template Blah(Stuff)
{
alias ... Blah;
}
i.e., defining inside a template a symbol of the same name as the
template itself. Then you can use Blah
BCS wrote:
Hello Bill,
Kinda not the same thing if you ask me. Eigen-blah generally refers
to something where you've captured the essence of something better by
representing it using a different set of basis functions.
This doesn't seem to have much of anything to do with that. Its just
iden
Bill Baxter wrote:
Kinda not the same thing if you ask me. Eigen-blah generally refers
to something where you've captured the essence of something better by
representing it using a different set of basis functions.
That's pretty specific for a German word meaning 'self'.
"Kagamin" wrote in message
news:gpd8ka$1np...@digitalmars.com...
> Andrei Alexandrescu Wrote:
>
>> I'm looking for a catchy phrase denoting this D idiom:
>>
>> template Blah(Stuff)
>> {
>> alias ... Blah;
>> }
>
> verbose templated declaration.
As far as I'm concerned, we've found a winner r
Andrei Alexandrescu Wrote:
> I'm looking for a catchy phrase denoting this D idiom:
>
> template Blah(Stuff)
> {
> alias ... Blah;
> }
verbose templated declaration.
On Fri, Mar 13, 2009 at 12:07 PM, Walter Bright
wrote:
> Bill Baxter wrote:
>>
>> But it is what the word "eponymous" is about.
>
> I can't even pronounce "eponymous". Not too catchy :-)
>
R.E.M. thought it was catchy enough to name an album that. :-)
Seriously, though, I don't really care wha
On Fri, Mar 13, 2009 at 1:30 PM, BCS wrote:
> Hello Bill,
>
>> Kinda not the same thing if you ask me. Eigen-blah generally refers
>> to something where you've captured the essence of something better by
>> representing it using a different set of basis functions.
>>
>> This doesn't seem to have
Hello Bill,
Kinda not the same thing if you ask me. Eigen-blah generally refers
to something where you've captured the essence of something better by
representing it using a different set of basis functions.
This doesn't seem to have much of anything to do with that. Its just
identity or same
Bill Baxter wrote:
But it is what the word "eponymous" is about.
I can't even pronounce "eponymous". Not too catchy :-)
On Thu, Mar 12, 2009 at 6:24 PM, Andrei Alexandrescu
wrote:
> Christopher Wright wrote:
>>
>> Andrei Alexandrescu wrote:
>>>
>>> Hello,
>>>
>>>
>>> I'm looking for a catchy phrase denoting this D idiom:
>>>
>>> template Blah(Stuff)
>>> {
>>> alias ... Blah;
>>> }
>>>
>>> i.e., defining inside a
Sergey Gromov wrote:
Thu, 12 Mar 2009 06:33:34 -0700, Andrei Alexandrescu wrote:
Hello,
I'm looking for a catchy phrase denoting this D idiom:
template Blah(Stuff)
{
alias ... Blah;
}
i.e., defining inside a template a symbol of the same name as the
template itself. Then you can use Bla
Christopher Wright wrote:
Andrei Alexandrescu wrote:
Hello,
I'm looking for a catchy phrase denoting this D idiom:
template Blah(Stuff)
{
alias ... Blah;
}
i.e., defining inside a template a symbol of the same name as the
template itself. Then you can use Blah!(X, Y) to mean Blah!(X, Y).
Denis Koroskin escribió:
On Fri, 13 Mar 2009 03:24:10 +0300, Jarrett Billingsley
wrote:
On Thu, Mar 12, 2009 at 5:05 PM, Steven Schveighoffer
wrote:
On Thu, 12 Mar 2009 16:37:06 -0400, Jarrett Billingsley
wrote:
On Thu, Mar 12, 2009 at 4:20 PM, Steven Schveighoffer
wrote:
How do you d
On Fri, 13 Mar 2009 03:24:10 +0300, Jarrett Billingsley
wrote:
On Thu, Mar 12, 2009 at 5:05 PM, Steven Schveighoffer
wrote:
On Thu, 12 Mar 2009 16:37:06 -0400, Jarrett Billingsley
wrote:
On Thu, Mar 12, 2009 at 4:20 PM, Steven Schveighoffer
wrote:
How do you do this without the Templat
On Thu, Mar 12, 2009 at 5:05 PM, Steven Schveighoffer
wrote:
> On Thu, 12 Mar 2009 16:37:06 -0400, Jarrett Billingsley
> wrote:
>
>> On Thu, Mar 12, 2009 at 4:20 PM, Steven Schveighoffer
>> wrote:
>>>
>>> How do you do this without the Template Identity syntax?
>>> (I'm going to start calling it
Reply to Christopher,
Eigentemplate.
Doh! :)
Reply to Denis,
On Fri, 13 Mar 2009 00:56:48 +0300, BCS wrote:
Under some conditions (I never figured out the details) you end up
being forced to do that anyway. However in heavy code you can
literally get MB of meta data generated for struct that are never
actually used for anything.
Th
Andrei Alexandrescu wrote:
Hello,
I'm looking for a catchy phrase denoting this D idiom:
template Blah(Stuff)
{
alias ... Blah;
}
i.e., defining inside a template a symbol of the same name as the
template itself. Then you can use Blah!(X, Y) to mean Blah!(X, Y).Blah.
What would be a cat
"Nick Sabalausky" wrote in message
news:gpbnms$2ba...@digitalmars.com...
> "Andrei Alexandrescu" wrote in message
> news:gpb2vd$18u...@digitalmars.com...
>> Hello,
>>
>>
>> I'm looking for a catchy phrase denoting this D idiom:
>>
>> template Blah(Stuff)
>> {
>>alias ... Blah;
>> }
>>
>
> U
On Fri, 13 Mar 2009 00:56:48 +0300, BCS wrote:
Reply to Denis,
On Thu, 12 Mar 2009 23:56:55 +0300, BCS wrote:
Reply to Denis,
Back on topic, I don't see anything wrong with this code. It defines
exactly one alias.
I also think that it should define exactly one /public/ alias:
template Bl
Thu, 12 Mar 2009 06:33:34 -0700, Andrei Alexandrescu wrote:
> Hello,
>
> I'm looking for a catchy phrase denoting this D idiom:
>
> template Blah(Stuff)
> {
> alias ... Blah;
> }
>
> i.e., defining inside a template a symbol of the same name as the
> template itself. Then you can use Blah!
Reply to Denis,
On Thu, 12 Mar 2009 23:56:55 +0300, BCS wrote:
Reply to Denis,
Back on topic, I don't see anything wrong with this code. It defines
exactly one alias.
I also think that it should define exactly one /public/ alias:
template Blah(T)
{
private alias Foo!(T).A Tmp1;
private alia
On Thu, 12 Mar 2009 16:37:06 -0400, Jarrett Billingsley
wrote:
On Thu, Mar 12, 2009 at 4:20 PM, Steven Schveighoffer
wrote:
How do you do this without the Template Identity syntax?
(I'm going to start calling it this to promote the term I thought was
best
;)
I'm not suggesting it be r
On Thu, 12 Mar 2009 23:56:55 +0300, BCS wrote:
Reply to Denis,
Back on topic, I don't see anything wrong with this code. It defines
exactly one alias.
I also think that it should define exactly one /public/ alias:
template Blah(T)
{
private alias Foo!(T).A Tmp1;
private alias Bar!(Tmp1!(T))
Reply to Denis,
Back on topic, I don't see anything wrong with this code. It defines
exactly one alias.
I also think that it should define exactly one /public/ alias:
template Blah(T)
{
private alias Foo!(T).A Tmp1;
private alias Bar!(Tmp1!(T)).B Tmp2;
static if (Tmp2.C!(T)) {
private alias Tm
On Thu, Mar 12, 2009 at 4:26 PM, Andrei Alexandrescu
wrote:
>
> Nice. The problem however is that very, very often I need to store
> intermediate results, otherwise the code becomes quickly unreadable or
> spread across too many different non-reusable templates. What I now do is
> e.g. create a sh
On Thu, Mar 12, 2009 at 4:20 PM, Steven Schveighoffer
wrote:
>
> How do you do this without the Template Identity syntax?
> (I'm going to start calling it this to promote the term I thought was best
> ;)
I'm not suggesting it be removed. I'm suggesting that if you were
only able to put one symbo
On Thu, 12 Mar 2009 23:20:07 +0300, Steven Schveighoffer
wrote:
On Thu, 12 Mar 2009 16:11:49 -0400, Jarrett Billingsley wrote:
On Thu, Mar 12, 2009 at 9:33 AM, Andrei Alexandrescu
wrote:
Hello,
I'm looking for a catchy phrase denoting this D idiom:
template Blah(Stuff)
{
alias ... Bla
Jarrett Billingsley wrote:
On Thu, Mar 12, 2009 at 9:33 AM, Andrei Alexandrescu
wrote:
Hello,
I'm looking for a catchy phrase denoting this D idiom:
template Blah(Stuff)
{
alias ... Blah;
}
i.e., defining inside a template a symbol of the same name as the template
itself. Then you can use
On Thu, 12 Mar 2009 16:11:49 -0400, Jarrett Billingsley wrote:
On Thu, Mar 12, 2009 at 9:33 AM, Andrei Alexandrescu
wrote:
Hello,
I'm looking for a catchy phrase denoting this D idiom:
template Blah(Stuff)
{
alias ... Blah;
}
i.e., defining inside a template a symbol of the same name as
On Thu, 12 Mar 2009 23:11:49 +0300, Jarrett Billingsley
wrote:
On Thu, Mar 12, 2009 at 9:33 AM, Andrei Alexandrescu
wrote:
Hello,
I'm looking for a catchy phrase denoting this D idiom:
template Blah(Stuff)
{
alias ... Blah;
}
i.e., defining inside a template a symbol of the same name a
On Thu, Mar 12, 2009 at 9:33 AM, Andrei Alexandrescu
wrote:
> Hello,
>
>
> I'm looking for a catchy phrase denoting this D idiom:
>
> template Blah(Stuff)
> {
> alias ... Blah;
> }
>
> i.e., defining inside a template a symbol of the same name as the template
> itself. Then you can use Blah!(X,
"Andrei Alexandrescu" wrote in message
news:gpb2vd$18u...@digitalmars.com...
> Hello,
>
>
> I'm looking for a catchy phrase denoting this D idiom:
>
> template Blah(Stuff)
> {
>alias ... Blah;
> }
>
Unitemplate?
Don wrote:
Andrei Alexandrescu wrote:
Hello,
I'm looking for a catchy phrase denoting this D idiom:
template Blah(Stuff)
{
alias ... Blah;
}
i.e., defining inside a template a symbol of the same name as the
template itself. Then you can use Blah!(X, Y) to mean Blah!(X, Y).Blah.
What wo
name promotion
BCS wrote:
Reply to Andrei,
Hello,
I'm looking for a catchy phrase denoting this D idiom:
template Blah(Stuff)
{
alias ... Blah;
}
i.e., defining inside a template a symbol of the same name as the
template itself. Then you can use Blah!(X, Y) to mean Blah!(X,
Y).Blah.
What would be a catchy,
Reply to Andrei,
Hello,
I'm looking for a catchy phrase denoting this D idiom:
template Blah(Stuff)
{
alias ... Blah;
}
i.e., defining inside a template a symbol of the same name as the
template itself. Then you can use Blah!(X, Y) to mean Blah!(X,
Y).Blah.
What would be a catchy, descriptive
eponymous alias?
--bb
On Fri, Mar 13, 2009 at 12:55 AM, Steven Schveighoffer
wrote:
> On Thu, 12 Mar 2009 11:01:21 -0400, Sean Kelly
> wrote:
>
>> Andrei Alexandrescu wrote:
>>>
>>> Hello,
>>> I'm looking for a catchy phrase denoting this D idiom:
>>> template Blah(Stuff)
>>> {
>>> alias ..
On Thu, 12 Mar 2009 11:01:21 -0400, Sean Kelly
wrote:
Andrei Alexandrescu wrote:
Hello,
I'm looking for a catchy phrase denoting this D idiom:
template Blah(Stuff)
{
alias ... Blah;
}
i.e., defining inside a template a symbol of the same name as the
template itself. Then you can use
Sean Kelly wrote:
Andrei Alexandrescu wrote:
Hello,
I'm looking for a catchy phrase denoting this D idiom:
template Blah(Stuff)
{
alias ... Blah;
}
i.e., defining inside a template a symbol of the same name as the
template itself. Then you can use Blah!(X, Y) to mean Blah!(X, Y).Blah.
Andrei Alexandrescu wrote:
Hello,
I'm looking for a catchy phrase denoting this D idiom:
template Blah(Stuff)
{
alias ... Blah;
}
i.e., defining inside a template a symbol of the same name as the
template itself. Then you can use Blah!(X, Y) to mean Blah!(X, Y).Blah.
What would be a cat
On Thu, 12 Mar 2009 06:33:34 -0700, Andrei Alexandrescu
wrote:
>Hello,
>
>
>I'm looking for a catchy phrase denoting this D idiom:
>
>template Blah(Stuff)
>{
>alias ... Blah;
>}
>
>i.e., defining inside a template a symbol of the same name as the
>template itself. Then you can use Blah!(X, Y
Andrei Alexandrescu wrote:
Hello,
I'm looking for a catchy phrase denoting this D idiom:
template Blah(Stuff)
{
alias ... Blah;
}
i.e., defining inside a template a symbol of the same name as the
template itself. Then you can use Blah!(X, Y) to mean Blah!(X, Y).Blah.
What would be a cat
Andrei Alexandrescu Wrote:
> Hello,
>
>
> I'm looking for a catchy phrase denoting this D idiom:
>
> template Blah(Stuff)
> {
> alias ... Blah;
> }
>
> i.e., defining inside a template a symbol of the same name as the
> template itself. Then you can use Blah!(X, Y) to mean Blah!(X, Y).Bla
Hello,
I'm looking for a catchy phrase denoting this D idiom:
template Blah(Stuff)
{
alias ... Blah;
}
i.e., defining inside a template a symbol of the same name as the
template itself. Then you can use Blah!(X, Y) to mean Blah!(X, Y).Blah.
What would be a catchy, descriptive, and memora
53 matches
Mail list logo