Files
IACore/Src/IACoreTest/imp/cpp/Main.cpp
Isuru Samarathunga 0fd33d958e Logger Tag
2025-09-11 13:09:06 +05:30

34 lines
548 B
C++

#include <IACore/Logger.hpp>
#include <IACore/File.hpp>
#include <IACore/Vector.hpp>
#include <IACore/Map.hpp>
using namespace ia;
template<typename _value_type>
VOID print(IN CONST Span<_value_type>& s)
{
for(const auto& v: s)
Logger::Info("IACore", v);
}
int main(int argc, char* argv[])
{
Vector<int> v1{10, 20, 32};
print(v1);
List<int> l1;
Map<String, int> m1;
m1["sdd"] = 2;
m1["bx"] = 5;
for(const auto& v: m1)
{
printf("%s, %i\n", v->Key.c_str(), v->Value);
}
return 0;
}