Test namaespace

main
anulax1225 ago%!(EXTRA string=1 year)
parent 08a7de3e24
commit 0e30017ead
  1. 2
      premake5.lua
  2. 3
      src/bakatools/file_system/dir_entry.h
  3. 4
      src/bakatools/time/time.h
  4. 3
      src/bakatools/time/time_point.h
  5. 3
      src/bakatools/time/time_span.h

@ -1,7 +1,7 @@
project "bakatools"
kind "StaticLib"
language "C++"
cppdialect "C++20"
cppdialect "C++17"
systemversion "latest"
staticruntime "on"

@ -5,7 +5,8 @@
#define BK_DIR_ENTRY_TYPE(type) const char* type_name() override { return BK_STRINGIFY(type); }\
static FileType get_type() { return FileType::type; }\
namespace Bk {
namespace Bk
{
using FileType = std::filesystem::file_type;
using FilePerms = std::filesystem::perms;
using FileStatus = std::filesystem::file_status;

@ -1,4 +1,4 @@
#pragma once
#include <bakatools/time/time_span.h>
#include <bakatools/time/time_point.h>
#include "time_span.h"
#include "time_point.h"

@ -3,7 +3,8 @@
#include <bakatoolspch.h>
#include "time_span.h"
namespace Bk {
namespace Bk
{
using SysClock = std::chrono::system_clock;
using SteadyClock = std::chrono::steady_clock;
using FileClock = std::chrono::file_clock;

@ -2,7 +2,8 @@
#include <bakatoolspch.h>
namespace Bk {
namespace Bk
{
using Nanosecond = std::ratio<1,1000000000>;
using Microsecond = std::ratio<1,1000000>;
using Millisecond = std::ratio<1,1000>;

Loading…
Cancel
Save