// Copyright (C) 2014 Davis E. King (davis@dlib.net)
// License: Boost Software License See LICENSE.txt for the full license.
#ifndef DLIB_PYTHON_INDEXING_H__
#define DLIB_PYTHON_INDEXING_H__
namespace dlib
{
template <typename T>
void resize(T& v, unsigned long n) { v.resize(n); }
}
#endif // DLIB_PYTHON_INDEXING_H__
-
Mischan Toosarani-Hausberger authored
* Replace boost::python with pybind11 * Replace add_python_module with pybind11_add_module * Fix clang error on type-dependent expression
077a3b60