Re: Phobos - pure, const, safe, nothrow

2013-10-02 Thread Joseph Rushton Wakeling
On 29/09/13 11:37, monarch_dodra wrote: On Sunday, 29 September 2013 at 09:00:56 UTC, simendsjo wrote: What is the status of adding these annotations to phobos? It's difficult to use these until phobos gets them. E.g. to! and format is not pure. Most of phobos is templated, meaning it relies

Re: Phobos - pure, const, safe, nothrow

2013-10-02 Thread Kenji Hara
On Wednesday, 2 October 2013 at 13:31:04 UTC, Joseph Rushton Wakeling wrote: On 29/09/13 11:37, monarch_dodra wrote: On Sunday, 29 September 2013 at 09:00:56 UTC, simendsjo wrote: What is the status of adding these annotations to phobos? It's difficult to use these until phobos gets them. E.g.

Phobos - pure, const, safe, nothrow

2013-09-29 Thread simendsjo
What is the status of adding these annotations to phobos? It's difficult to use these until phobos gets them. E.g. to! and format is not pure.

Re: Phobos - pure, const, safe, nothrow

2013-09-29 Thread monarch_dodra
On Sunday, 29 September 2013 at 09:00:56 UTC, simendsjo wrote: What is the status of adding these annotations to phobos? It's difficult to use these until phobos gets them. E.g. to! and format is not pure. Most of phobos is templated, meaning it relies on inference. These functions are