Re: Designing an API with D.

2013-10-01 Thread Jesse Phillips
On Tuesday, 1 October 2013 at 03:01:32 UTC, evilrat wrote: AFAIK people rarely use interface files this days, one reason is templates which needs instantiated in ur code but it won't be able to put them in interface files. (though i may be wrong on it) The interface file needs the entire temp

Re: Designing an API with D.

2013-09-30 Thread evilrat
On Tuesday, 1 October 2013 at 00:37:48 UTC, Agustin wrote: Hello, i'm trying to make a library and i would like to use that library on a separated application using only interfaces. I know how to do it using C++, but i don't known using D. Can anyone help me? Project #1 include/*.d -> These are

Designing an API with D.

2013-09-30 Thread Agustin
Hello, i'm trying to make a library and i would like to use that library on a separated application using only interfaces. I know how to do it using C++, but i don't known using D. Can anyone help me? Project #1 include/*.d -> These are interfaces. src/*.d -> Implementation code using those i