Closed ecorm closed 9 years ago
Instead of the recursive function mess currently used in Unmarshall, use a parameter pack of numbers as shown in http://stackoverflow.com/a/7858971/245265.
Unmarshall
Also consider renaming Unmarshall to Unpacker.
Unpacker
Also, unpacking errors (insufficient arguments or invalid types) should have their own distinct exception type.
Instead of the recursive function mess currently used in
Unmarshall
, use a parameter pack of numbers as shown in http://stackoverflow.com/a/7858971/245265.Also consider renaming
Unmarshall
toUnpacker
.