Skip to content

Ilawy/dummy-any

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Dec 14, 2024
dab434d · Dec 14, 2024

History

9 Commits
Dec 11, 2024
Dec 14, 2024
Dec 11, 2024
Dec 12, 2024
Dec 11, 2024
Dec 14, 2024
Dec 12, 2024
Dec 11, 2024
Dec 11, 2024
Dec 14, 2024
Dec 14, 2024

Repository files navigation

Container

a simple class that holds data of varoius types

Why

it's for using with a dynamic array of different elements

Features

  • can hold data of any type
  • can be printed in cout (by extending printable class)
  • The holded data can be freed (by setting _free_ method)
  • get the type of holded data (type() method)
  • cast the data directly (using as<T>() method)
  • check if T is a class and is inhereted by the holded data (using isBaseOf<T>)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages