Public typedefs (Enhancement)
Closed this issue · 1 comments
LiraNuna commented
C++ types are long and hard to type (even with a good IDE).
Why not help the programmer and add some types that are extremely useful when handling plists?
Inside of the publicly facing Plist
class, I would add those types:
typedef std::vector<char> ByteArray;
typedef std::vector<boost::any> Array;
typedef std::map<std::string, boost::any> Dictionary;
animetrics commented
Hi Liran,
Sure. The usual way to make these suggestions is to fork the repo, make
the mods, issue a pull request.
Thanks,
Marc
On Tue, Jun 26, 2012 at 03:59:39PM -0700, Liran Nuna wrote:
C++ types are long and hard to type (even with a good IDE).
Why not help the programmer and add some types that are extremely useful when handling plists?Inside of the publicly facing
Plist
class, I would add those types:typedef std::vector<char> ByteArray; typedef std::vector<boost::any> Array; typedef std::map<std::string, boost::any> Dictionary;
Reply to this email directly or view it on GitHub:
#2