digitalmars.D.learn - template instance template 'appender' is not defined
- Assembly (8/9) May 31 2015 I've imported the std.format module but it still doesn't works.
- Assembly (3/3) May 31 2015 I'm aware about format() from std.string but I have some code
- =?UTF-8?B?QWxpIMOHZWhyZWxp?= (3/12) May 31 2015 appender is in std.array.
- Assembly (2/21) May 31 2015 why that page I've linked use std.format?
- =?UTF-8?B?QWxpIMOHZWhyZWxp?= (5/9) May 31 2015 Some examples simply use appender. For example, the following appears in...
- anonymous (4/5) May 31 2015 You mean that first example? Simple oversight. It's already fixed
So after a while without write any D code (such a sad time) I'm back. I needed to use appender but it returned a compile error:template instance template 'appender' is not definedI've imported the std.format module but it still doesn't works. What changed? did this moved to somewhere else or what? the documentation still says that it's in the std.format module (http://dlang.org/phobos/std_format.html). I guess I need to read the break changes log since the version I'm using? My machine: Windows 8.1 and dmd version v2.066.0.
May 31 2015
I'm aware about format() from std.string but I have some code written which uses appender and I'm a bit affraid that this won't compile anymore
May 31 2015
On 05/31/2015 02:30 PM, Assembly wrote:So after a while without write any D code (such a sad time) I'm back. I needed to use appender but it returned a compile error:appender is in std.array. Alitemplate instance template 'appender' is not definedI've imported the std.format module but it still doesn't works. What changed? did this moved to somewhere else or what? the documentation still says that it's in the std.format module (http://dlang.org/phobos/std_format.html). I guess I need to read the break changes log since the version I'm using? My machine: Windows 8.1 and dmd version v2.066.0.
May 31 2015
On Sunday, 31 May 2015 at 21:32:34 UTC, Ali Çehreli wrote:On 05/31/2015 02:30 PM, Assembly wrote:why that page I've linked use std.format?So after a while without write any D code (such a sad time) I'm back. I needed to use appender but it returned a compile error:appender is in std.array. Alitemplate instance template 'appender' is not definedI've imported the std.format module but it still doesn't works. What changed? did this moved to somewhere else or what? the documentation still says that it's in the std.format module (http://dlang.org/phobos/std_format.html). I guess I need to read the break changes log since the version I'm using? My machine: Windows 8.1 and dmd version v2.066.0.
May 31 2015
On 05/31/2015 02:33 PM, Assembly wrote:Some examples simply use appender. For example, the following appears in some of the examples there: import std.array : appender; Aliappender is in std.array. Aliwhy that page I've linked use std.format?
May 31 2015
On Sunday, 31 May 2015 at 21:33:53 UTC, Assembly wrote:why that page I've linked use std.format?You mean that first example? Simple oversight. It's already fixed in the prerelease version where it imports std.array now: http://dlang.org/phobos-prerelease/std_format.html
May 31 2015