ews-cpp icon indicating copy to clipboard operation
ews-cpp copied to clipboard

Is property_path sound?

Open bkircher opened this issue 8 years ago • 1 comments

property_path, indexed_property_path, (and extended_property_path) are participants in a hierarchy. Why?

Also, we pass property_path by value (as a copy) in a lot of different places in the API, coercing indexed_property_path eventually.

Finally, property_path::field_uri is used in different places, with <FieldURI="" /> hand-coded. Other types in the API provide a to_xml member-function. Consider adding to_xml to property_path. You could circumvent the type coercion problem by using a closure (std::function) internally.

bkircher avatar Jul 15 '16 11:07 bkircher

This is addressed in PR #38

bkircher avatar Oct 21 '16 11:10 bkircher