*/
template<typename S>
void load_sub(S &s)
- { load_sub<S, typename S::Loader>(s); }
+ { load_sub<typename S::Loader, S>(s); }
/**
Loads a sub-object with a custom Loader class.
*/
- template<typename S, typename L>
+ template<typename L, typename S>
void load_sub(S &s)
{
if(!cur_st)
Loads a sub-object with a custom Loader class that takes one argument in
addition to to object to be loaded.
*/
- template<typename S, typename L, typename T>
+ template<typename L, typename S, typename T>
void load_sub(S &s, T &p)
{
if(!cur_st)