1234567891011121314151617181920212223 |
- #ifndef IGL_MIN_SIZE_H
- #define IGL_MIN_SIZE_H
- #include "igl_inline.h"
- #include <vector>
- namespace igl
- {
- // Determine min size of lists in a vector
- // Template:
- // T some list type object that implements .size()
- // Inputs:
- // V vector of list types T
- // Returns min .size() found in V, returns -1 if V is empty
- template <typename T>
- IGL_INLINE int min_size(const std::vector<T> & V);
- }
- #ifdef IGL_HEADER_ONLY
- # include "min_size.cpp"
- #endif
- #endif
|