Problem with argument of type std::vector<std::string>.
Posted: Sat Aug 31, 2013 5:21 pm
Hello!
I need to pass some vectors of strings through RCF but VS2012 sais:
error C2039: 'serialize' : is not a member of 'std::vector<_Ty>' d:\cpp projects\bbbridge\bbbridge\include\sf\serializer.hpp
Here is my interface declaration:
RCF_BEGIN(I_BBtoDBPriceUpdates, "BBtoDBPriceUpdates")
RCF_METHOD_V4(void, BBtoDB_updateADRPrices, const std::vector<string>&, const string&, const string&, const string&)
RCF_METHOD_V4(void, BBtoDB_updateCurrencyRates, const std::vector<string>&, const string&, const string&, const string&)
RCF_METHOD_V4(void, BBtoDB_updateETFPrices, const std::vector<string>&, const string&, const string&, const string&)
RCF_METHOD_V4(void, BBtoDB_updateFuturesPrices, const std::vector<string>&, const string&, const string&, const string&)
RCF_METHOD_V4(void, BBtoDB_updateIndexPrices, const std::vector<string>&, const string&, const string&, const string&)
RCF_METHOD_V4(void, BBtoDB_updateOptionPrices, const std::vector<string>&, const string&, const string&, const string&)
RCF_METHOD_V4(void, BBtoDB_updateStockPrices, const std::vector<string>&, const string&, const string&, const string&)
RCF_END(I_BBtoDBPriceUpdates)
What can I do to make it work?
Thank you!
Andrei.
I need to pass some vectors of strings through RCF but VS2012 sais:
error C2039: 'serialize' : is not a member of 'std::vector<_Ty>' d:\cpp projects\bbbridge\bbbridge\include\sf\serializer.hpp
Here is my interface declaration:
RCF_BEGIN(I_BBtoDBPriceUpdates, "BBtoDBPriceUpdates")
RCF_METHOD_V4(void, BBtoDB_updateADRPrices, const std::vector<string>&, const string&, const string&, const string&)
RCF_METHOD_V4(void, BBtoDB_updateCurrencyRates, const std::vector<string>&, const string&, const string&, const string&)
RCF_METHOD_V4(void, BBtoDB_updateETFPrices, const std::vector<string>&, const string&, const string&, const string&)
RCF_METHOD_V4(void, BBtoDB_updateFuturesPrices, const std::vector<string>&, const string&, const string&, const string&)
RCF_METHOD_V4(void, BBtoDB_updateIndexPrices, const std::vector<string>&, const string&, const string&, const string&)
RCF_METHOD_V4(void, BBtoDB_updateOptionPrices, const std::vector<string>&, const string&, const string&, const string&)
RCF_METHOD_V4(void, BBtoDB_updateStockPrices, const std::vector<string>&, const string&, const string&, const string&)
RCF_END(I_BBtoDBPriceUpdates)
What can I do to make it work?
Thank you!
Andrei.