Initial commit

This commit is contained in:
user
2026-07-12 14:22:00 +04:00
commit 49ecd4784c
90 changed files with 6910 additions and 0 deletions
@@ -0,0 +1,37 @@
#ifndef FUNCTION_STANDART_H
#define FUNCTION_STANDART_H
#include "one.h"
BEGIN_NAMESPACE(BusinessLogic)
BEGIN_NAMESPACE(Hash)
BEGIN_NAMESPACE(Function)
BEGIN_NAMESPACE(Standart)
using Singleton = BusinessLogic::Pattern::Singleton<Product>;
class Product final : public One::Product, public Singleton
{
private:
std::hash<size_t> m_standartHashFunction;
private:
friend const Product &Singleton::getInstance();
Product()
: One::Product(
std::bind(&std::hash<size_t>::operator(), &m_standartHashFunction, std::placeholders::_1)
)
, m_standartHashFunction()
{
}
public:
using Singleton::getInstance;
};
END_NAMESPACE // Standart
END_NAMESPACE // Function
END_NAMESPACE // Hash
END_NAMESPACE // BusinessLogic
#endif // !FUNCTION_FNV1a_H