// // Copyright (c) 2022-2023 Alexander Grund // // Distributed under the Boost Software License, Version 1.0. // https://www.boost.org/LICENSE_1_0.txt #include #include #include int main() { // Simple test that including a library header and using an exported function works std::unique_ptr cvt = boost::locale::util::create_utf8_converter(); if(cvt) { std::cout << "Created..." << std::endl; BOOST_ASSERT(cvt->is_thread_safe()); BOOST_ASSERT(cvt->max_len() == 4); } else std::cout << "Failed creation..." << std::endl; return cvt ? 0 : 1; }