>how do I search for the constructor >parent::child::A::A(parent::child::B const & arg0) [constructor]
>What arg_types should I provide ? >I have tried with and without namespaces like >cons = mb.constructors('A', arg_types=['parent::child::B const &']) >cons = mb.constructors('A', arg_types=['child::B const &']) >cons = mb.constructors('A', arg_types=['B const &']) >But every time it is giving an error >raise RuntimeError( "Multi declaration query returned 0 declarations." ) >I don't know what bits I am missing please suggest. Now I have used cons = mb.constructors('A', arg_types=['::parent::child::B const &']) and it is working fine. Thanks can someone, please let me know the reason why :: (scope operator) is required in the start of the argument. -- View this message in context: http://old.nabble.com/How-to-search-constructors-with-namespace-tp28739257p28739908.html Sent from the Python - c++-sig mailing list archive at Nabble.com. _______________________________________________ Cplusplus-sig mailing list Cplusplus-sig@python.org http://mail.python.org/mailman/listinfo/cplusplus-sig