diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2025-11-25 00:05:50 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-11-25 00:05:50 -0500 |
| commit | b9b5224ed9d045437425ad129ffb83b9d0de850c (patch) | |
| tree | 12c034291fd9d721b1eb9b8c16bcc65285936fe8 /include | |
| parent | 92921b0b156d5a8369b9133a7c37e2793954c932 (diff) | |
| parent | 52399b9b2fe46e29c5ee265baf8cb7f1717a4c53 (diff) | |
Merge pull request #22 from amlel-el-mahrouss/develop
Expanding FIX and more patches.
Diffstat (limited to 'include')
| -rw-r--r-- | include/ocl/core/config.hpp | 9 | ||||
| -rw-r--r-- | include/ocl/core/error_handler.hpp | 4 | ||||
| -rw-r--r-- | include/ocl/fix/checksum.hpp | 10 | ||||
| -rw-r--r-- | include/ocl/fix/parser.hpp (renamed from include/ocl/fix/fix.hpp) | 11 | ||||
| -rw-r--r-- | include/ocl/memory/tracked_ptr.hpp | 2 |
5 files changed, 24 insertions, 12 deletions
diff --git a/include/ocl/core/config.hpp b/include/ocl/core/config.hpp index de1ce76..59f2491 100644 --- a/include/ocl/core/config.hpp +++ b/include/ocl/core/config.hpp @@ -14,6 +14,15 @@ #include <boost/container/allocator.hpp> #include <boost/assert.hpp> +#include <cstddef> +#include <cassert> +#include <utility> +#include <string> +#include <vector> +#include <cstdint> +#include <sys/types.h> +#include <unistd.h> + #ifdef __cplusplus /// DLL/Dylib/So specific macro. # define OCL_EXPORT_DECL extern "C" BOOST_SYMBOL_EXPORT diff --git a/include/ocl/core/error_handler.hpp b/include/ocl/core/error_handler.hpp index 717b522..a09f450 100644 --- a/include/ocl/core/error_handler.hpp +++ b/include/ocl/core/error_handler.hpp @@ -20,8 +20,8 @@ namespace ocl explicit basic_error_handler() = default; virtual ~basic_error_handler() = default; - basic_error_handler& operator=(const basic_error_handler&) = delete; - basic_error_handler(const basic_error_handler&) = delete; + basic_error_handler& operator=(const basic_error_handler&) = default; + basic_error_handler(const basic_error_handler&) = default; template <bool throw_too = false> void error(const std::basic_string<char>& msg) diff --git a/include/ocl/fix/checksum.hpp b/include/ocl/fix/checksum.hpp new file mode 100644 index 0000000..9205664 --- /dev/null +++ b/include/ocl/fix/checksum.hpp @@ -0,0 +1,10 @@ +/* + * File: fix/checksum.hpp + * Purpose: Financial Information Exchange checksum in C++ + * Author: Amlal El Mahrouss (amlal@nekernel.org) + * Copyright 2025, Amlal El Mahrouss, licensed under the Boost Software License. + */ + +#pragma once + +#include <core/config.hpp> diff --git a/include/ocl/fix/fix.hpp b/include/ocl/fix/parser.hpp index 85a8b70..a513a1f 100644 --- a/include/ocl/fix/fix.hpp +++ b/include/ocl/fix/parser.hpp @@ -1,5 +1,5 @@ /* - * File: fix/fix.hpp + * File: fix/parser.hpp * Purpose: Financial Information Exchange parser in C++ * Author: Amlal El Mahrouss (amlal@nekernel.org) * Copyright 2025, Amlal El Mahrouss, licensed under the Boost Software License. @@ -8,14 +8,7 @@ #ifndef _OCL_FIX_PARSER_HPP #define _OCL_FIX_PARSER_HPP -#include <cstddef> -#include <cassert> -#include <utility> -#include <string> -#include <vector> -#include <cstdint> -#include <sys/types.h> -#include <unistd.h> +#include <core/config.hpp> namespace ocl::fix { diff --git a/include/ocl/memory/tracked_ptr.hpp b/include/ocl/memory/tracked_ptr.hpp index fcaf898..029e424 100644 --- a/include/ocl/memory/tracked_ptr.hpp +++ b/include/ocl/memory/tracked_ptr.hpp @@ -1,6 +1,6 @@ /* * File: memory/tracked_ptr.hpp - * Purpose: Custom smart pointer implementation in C++ + * Purpose: Strict pointer type implementation in C++ * Author: Amlal El Mahrouss (amlal@nekernel.org) * Copyright 2025, Amlal El Mahrouss, licensed under the Boost Software License. */ |
