diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2025-12-17 14:53:59 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@nekernel.org> | 2025-12-17 14:53:59 +0100 |
| commit | d54c2033eaaad5b6f9340b7cbaf8b3b037fb3cbe (patch) | |
| tree | c9506ad751a589c0a734b26900f48581d1dde2ce /examples/smart_ptr_example | |
| parent | 15aac395a599c92016bd2d74a7c23ca6eea3d04d (diff) | |
chore: updated file structure.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'examples/smart_ptr_example')
| -rw-r--r-- | examples/smart_ptr_example/CMakeLists.txt | 15 | ||||
| -rw-r--r-- | examples/smart_ptr_example/example.cc | 10 |
2 files changed, 0 insertions, 25 deletions
diff --git a/examples/smart_ptr_example/CMakeLists.txt b/examples/smart_ptr_example/CMakeLists.txt deleted file mode 100644 index 6584ad2..0000000 --- a/examples/smart_ptr_example/CMakeLists.txt +++ /dev/null @@ -1,15 +0,0 @@ - -cmake_minimum_required(VERSION 3.15...3.31) - -project( - SmartPtrExample - VERSION 1.0 - LANGUAGES CXX) - -find_package(Boost REQUIRED COMPONENTS container) - -add_executable(SmartPtrExample example.cc) - -set_property(TARGET SmartPtrExample PROPERTY CXX_STANDARD 20) -target_include_directories(SmartPtrExample PUBLIC ../../include/) -target_link_libraries(SmartPtrExample PRIVATE Boost::container) diff --git a/examples/smart_ptr_example/example.cc b/examples/smart_ptr_example/example.cc deleted file mode 100644 index ef1a865..0000000 --- a/examples/smart_ptr_example/example.cc +++ /dev/null @@ -1,10 +0,0 @@ -#include <ocl/crc_hash.hpp> -#include <ocl/print.hpp> -#include <ocl/smart_ptr.hpp> - -int main(int argc, char** argv) -{ - ocl::shared_ptr<std::ostream> smart = ocl::delete_ptr(&std::cout); - - return 0; -} |
