Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- std::vector<std::vector<std::string>> nombreVector;
- typedef std::vector<std::vector<std::string>> RetornoConsulta;
- const RetornoConsulta* consultar_tabla_x(int codigoTabla)
- {
- RetornoConsulta *retorno = nullptr;
- try
- {
- retorno = extraer_datos_consulta(codigoTabla);
- }
- catch(std::exception &ex)
- {
- throw ex;
- }
- return retorno;
- }
- typedef std::vector<std::vector<std::string>> RetornoConsulta;
- unique_ptr<RetornoConsulta> consultar_tabla_x(int codigoTabla)
- {
- unique_ptr<RetornoConsulta> ptrRetorno;
- try
- {
- ptrRetorno = make_unique<RetornoConsulta>(extraer_datos_consulta(codigoTabla));
- }
- catch(std::exception &ex)
- {
- throw ex;
- }
- return ptrRetorno;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement