adding ansi color codes
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
/* ************************************************************************** */
|
||||
/* */
|
||||
/* ::: :::::::: */
|
||||
/* array.h :+: :+: :+: */
|
||||
/* array.hpp :+: :+: :+: */
|
||||
/* +:+ +:+ +:+ */
|
||||
/* By: maldavid <kbz_8.dev@akel-engine.com> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2024/01/20 09:31:30 by maldavid #+# #+# */
|
||||
/* Updated: 2024/01/20 09:40:29 by maldavid ### ########.fr */
|
||||
/* Updated: 2024/01/20 19:12:36 by maldavid ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
/* ************************************************************************** */
|
||||
/* */
|
||||
/* ::: :::::::: */
|
||||
/* ref_counter.h :+: :+: :+: */
|
||||
/* ref_counter.hpp :+: :+: :+: */
|
||||
/* +:+ +:+ +:+ */
|
||||
/* By: maldavid <kbz_8.dev@akel-engine.com> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2024/01/20 12:54:09 by maldavid #+# #+# */
|
||||
/* Updated: 2024/01/20 12:55:02 by maldavid ### ########.fr */
|
||||
/* Updated: 2024/01/20 19:12:33 by maldavid ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
@@ -1,19 +1,19 @@
|
||||
/* ************************************************************************** */
|
||||
/* */
|
||||
/* ::: :::::::: */
|
||||
/* shared_ptr.h :+: :+: :+: */
|
||||
/* shared_ptr.hpp :+: :+: :+: */
|
||||
/* +:+ +:+ +:+ */
|
||||
/* By: maldavid <kbz_8.dev@akel-engine.com> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2024/01/20 10:09:02 by maldavid #+# #+# */
|
||||
/* Updated: 2024/01/20 13:08:04 by maldavid ### ########.fr */
|
||||
/* Updated: 2024/01/20 19:12:42 by maldavid ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
#ifndef __UNSTD_SHARED_PTR__
|
||||
#define __UNSTD_SHARED_PTR__
|
||||
|
||||
#include <unstd/bits/ref_counter.h>
|
||||
#include <unstd/bits/ref_counter.hpp>
|
||||
#include <cstddef>
|
||||
#include <map>
|
||||
|
||||
29
includes/unstd/string.hpp
Normal file
29
includes/unstd/string.hpp
Normal file
@@ -0,0 +1,29 @@
|
||||
/* ************************************************************************** */
|
||||
/* */
|
||||
/* ::: :::::::: */
|
||||
/* string.hpp :+: :+: :+: */
|
||||
/* +:+ +:+ +:+ */
|
||||
/* By: maldavid <kbz_8.dev@akel-engine.com> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2024/01/20 19:13:26 by maldavid #+# #+# */
|
||||
/* Updated: 2024/01/20 19:14:55 by maldavid ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
#ifndef __UNSTD_STRING__
|
||||
#define __UNSTD_STRING__
|
||||
|
||||
#include <sstream>
|
||||
|
||||
namespace unstd
|
||||
{
|
||||
template <typename T>
|
||||
std::string toString(T n)
|
||||
{
|
||||
std::ostringstream ss;
|
||||
ss << n;
|
||||
return ss.str();
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
@@ -1,12 +1,12 @@
|
||||
/* ************************************************************************** */
|
||||
/* */
|
||||
/* ::: :::::::: */
|
||||
/* unique_ptr.h :+: :+: :+: */
|
||||
/* unique_ptr.hpp :+: :+: :+: */
|
||||
/* +:+ +:+ +:+ */
|
||||
/* By: maldavid <kbz_8.dev@akel-engine.com> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2024/01/20 09:40:56 by maldavid #+# #+# */
|
||||
/* Updated: 2024/01/20 10:06:54 by maldavid ### ########.fr */
|
||||
/* Updated: 2024/01/20 19:12:51 by maldavid ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
@@ -1,20 +1,20 @@
|
||||
/* ************************************************************************** */
|
||||
/* */
|
||||
/* ::: :::::::: */
|
||||
/* weak_ptr.h :+: :+: :+: */
|
||||
/* weak_ptr.hpp :+: :+: :+: */
|
||||
/* +:+ +:+ +:+ */
|
||||
/* By: maldavid <kbz_8.dev@akel-engine.com> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2024/01/20 11:17:07 by maldavid #+# #+# */
|
||||
/* Updated: 2024/01/20 13:16:14 by maldavid ### ########.fr */
|
||||
/* Updated: 2024/01/20 19:13:13 by maldavid ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
#ifndef __UNSTD_WEAK_PTR__
|
||||
#define __UNSTD_WEAK_PTR__
|
||||
|
||||
#include <unstd/bits/ref_counter.h>
|
||||
#include <unstd/shared_ptr.h>
|
||||
#include <unstd/bits/ref_counter.hpp>
|
||||
#include <unstd/shared_ptr.hpp>
|
||||
|
||||
namespace unstd
|
||||
{
|
||||
@@ -46,6 +46,6 @@ namespace unstd
|
||||
};
|
||||
}
|
||||
|
||||
#include <unstd/weak_ptr.h>
|
||||
#include <unstd/weak_ptr.ipp>
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user