Composing features at compile time

Jacob Carlborg doob at me.com
Sun Nov 24 11:56:43 PST 2013


On 2013-11-24 20:53, Philippe Sigaud wrote:

> Hmm. Then you still need to define where the policy will act. OK, I
> can get that. I thought the OP wanted something more flexible, where
> different loggers could inject code at many different places.
>
> But if there is no Logging policy asked for (the user doesn't care for
> logging), you must insure that the default policy 'disappears', so to
> speak. I'm not sure that's always possible.

Please see this post for an actual problem I'm trying to solve:

http://forum.dlang.org/thread/l6suan$22f4$1@digitalmars.com?page=2#post-l6tlhj:242ms1:241:40digitalmars.com

-- 
/Jacob Carlborg


More information about the Digitalmars-d-learn mailing list