Skip to content

xpd54/common_util

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Common Util

Common header only C++ util which can be reused.

Table of Contents

How-To-Use

git submodule add https://github.com/xpd54/common_util.git

#if cloned in an external folder

add_subdirectory(external/common_util)
include_directories(
  external/common_util/include
)
target_link_libraries(${PROJECT_NAME}
  PUBLIC
  common_util
 )

Header-Details

Header Quick Details Link/Example Code
command_line_util.hpp Read command line arguments from the main method. here
Logger.hpp Singleton instance based logging library. It can handle logs on multithread as well. here
memory_map_util.hpp map a file from disk to memory space. It's probably the fastest way to read files. here
string_format_util.hpp accepts built-in data type in varadic template and returns a string. here
time_util.hpp quick operation on time here

LICENSE

Licence

About

common lib for logger, time and more

Resources

License

Stars

Watchers

Forks

Packages

No packages published