82 *vec_ptr =
new std::vector<int> ();
98 (*vec_ptr)->push_back(*i);
103 *i = (*vec_ptr)->size();
108 auto correct_count = [&vec_ptr,&card](
int ii) {
return (*card == count((*vec_ptr)->begin(), (*vec_ptr)->end(), ii));};
109 auto iter = find_if((*vec_ptr)->begin(), (*vec_ptr)->end(), correct_count);
110 if (iter != (*vec_ptr)->end()) {
121 auto iter = (*vec_ptr)->begin();
122 for ( ; iter != (*vec_ptr)->end() ; ++iter) {
129 (*vec_ptr)->resize(*size);
130 for (
int i(0) ; i < *size ; ++i) {
131 (*vec_ptr)->at(i) = res[i];
138 auto iter = std::find((*vec_ptr)->begin(), (*vec_ptr)->end(), *what);
139 if (iter != (*vec_ptr)->end()) {
140 *where = std::distance((*vec_ptr)->begin(), iter) + 1;
void intvector_get_redundant_(std::vector< int > **, int *, int *, int *)
void _FCALL INTVECTOR_CREATE(std::vector< int > **vec_ptr)
void _FCALL INTVECTOR_GET_SIZE(std::vector< int > **vec_ptr, int *i)
void _FCALL INTVECTOR_CLEAR(std::vector< int > **vec_ptr)
void intvector_clear_(std::vector< int > **)
void intvector_copy_from_(std::vector< int > **, const int *, const int *)
void intvector_get_size_(std::vector< int > **, int *)
void _FCALL INTVECTOR_COPY_FROM(std::vector< int > **vec_ptr, const int *res, const int *size)
void intvector_copy_to_(const std::vector< int > **, int *)
void _FCALL INTVECTOR_DELETE(std::vector< int > **vec_ptr)
void _FCALL INTVECTOR_PUSH_BACK(std::vector< int > **vec_ptr, const int *i)
void intvector_push_back_(std::vector< int > **, const int *)
void intvector_create_(std::vector< int > **)
void _FCALL INTVECTOR_FIND(const std::vector< int > **vec_ptr, const int *what, int *where)
void intvector_delete_(std::vector< int > **)
void _FCALL INTVECTOR_COPY_TO(const std::vector< int > **vec_ptr, int *res)
void _FCALL INTVECTOR_GET_REDUNDANT(std::vector< int > **vec_ptr, int *res, int *err, int *card)
void intvector_find_(const std::vector< int > **, const int *, int *)