Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
Qt Creator 4.4.0
-
None
Description
Have class :
template <typename prec, std::size_t dims> class dcel { using pt = Point<prec, dims>; public: std::vector<pt> pos; std::vector<std::size_t> p1, p2, f1, f2; std::vector<std::size_t> v1, v2; dcel(); ...
If I try to type ":"symbol:
template <typename prec, std::size_t dims> class dcel { using pt = Point<prec, dims>; public: std::vector<pt> pos; std::vector<std::size_t> p1, p2, f1, f2; std::vector<std::size_t> v1, v2; : <-- there dcel(); ...
the program crashes.
But if I modify class constructor an try to type again, no problems:
template <typename prec, std::size_t dims> class dcel { using pt = Point<prec, dims>; public: std::vector<pt> pos; std::vector<std::size_t> p1, p2, f1, f2; std::vector<std::size_t> v1, v2; dcel() { } <-- there ...
The problem is in "dcel.h" file. Sending you the folder with a project.