2
0
mirror of https://github.com/boostorg/nowide.git synced 2026-01-19 16:32:12 +00:00
Files
nowide/test/cmake_test/main.cpp
Alexander Grund a0327e0b74 Update license headers
Use the more concise format omitting the reference to the license file
and refer to the URL only.
2022-07-13 12:35:54 +02:00

19 lines
454 B
C++

//
// Copyright (c) 2019-2021 Alexander Grund
//
// Distributed under the Boost Software License, Version 1.0.
// https://www.boost.org/LICENSE_1_0.txt
#include <boost/nowide/args.hpp>
#include <boost/nowide/convert.hpp>
int main(int argc, char** argv, char** env)
{
boost::nowide::args _(argc, argv, env);
if(argc < 1)
return 1;
if(boost::nowide::narrow(boost::nowide::widen(argv[0])) != argv[0])
return 1;
return 0;
}