On 2013-06-11 11:07, Jonas Drewsen wrote:

Jacob: Would it be doable to refactor the attribute magic in
std.serialization into a separate module that could be provided as 3rd
party extension to std.serialization until phobos itself is ready for
attributes?

The generic code for attributes is located in orange.core.Attribute, this can be inlined or removed. The actual attributes them self are located in orange.serialization.Serializable.

The library is perfectly usable without UDA's. The old template mixins are still available.

If __traits(getAttributes) is not allowed in Phobos then I have to remove the code that checks for UDA's.

--
/Jacob Carlborg

Reply via email to