The template uses std::ifstream data to read samples. However, "std::data" has already been defined, which causes compile error. See std::data on cppreference.com.
std::ifstream data