Re: Use of "T"

2017-04-12 Thread Stanislav Blinov via Digitalmars-d-learn
On Wednesday, 12 April 2017 at 22:56:25 UTC, solidstate1991 wrote: I know the existence of those and I'm frequently using them, however I need a two-way one. (Might be using two hash-tables instead if I can't find a better solution) So, you're looking for a generic way to store objects of

Re: Use of "T"

2017-04-12 Thread solidstate1991 via Digitalmars-d-learn
On Wednesday, 12 April 2017 at 16:05:23 UTC, XavierAP wrote: On Wednesday, 12 April 2017 at 14:46:20 UTC, solidstate1991 wrote: T is just the common name of a (type) parameter, mostly whenever the template is more generic that you can't think of a more informative (template) parameter

Re: Use of "T"

2017-04-12 Thread XavierAP via Digitalmars-d-learn
On Wednesday, 12 April 2017 at 14:46:20 UTC, solidstate1991 wrote: Yes, templates. I've looked this up a bit, and I found it. I want to use it to use the dictionaries for different things than string<->int conversion. T is just the common name of a (type) parameter, mostly whenever the

Re: Use of "T"

2017-04-12 Thread solidstate1991 via Digitalmars-d-learn
On Wednesday, 12 April 2017 at 13:54:11 UTC, qznc wrote: On Wednesday, 12 April 2017 at 13:17:42 UTC, solidstate1991 wrote: How can I make use of T? I've seen it being used many times for this application. What "T"? This letter is often used as a generic template parameter. Are y

Re: Use of "T"

2017-04-12 Thread qznc via Digitalmars-d-learn
On Wednesday, 12 April 2017 at 13:17:42 UTC, solidstate1991 wrote: How can I make use of T? I've seen it being used many times for this application. What "T"? This letter is often used as a generic template parameter. Are you talking about templates? Maybe you can give som

Use of "T"

2017-04-12 Thread solidstate1991 via Digitalmars-d-learn
ative character handling is using it, not to mention the easier formatting via markup). How can I make use of T? I've seen it being used many times for this application.