JD2022-TU1/main/extern/bloomberg/inc/containers/string.h

19 lines
535 B
C++

#pragma once
#ifndef _BLOOMBERG_STRING_H_
#define _BLOOMBERG_STRING_H_
#include "faststring.h"
namespace Bloomberg
{
#ifdef BLOOMBERG_DLL
template class BLOOMBERG_DLL_ENTRY FastString<Char>;
#endif
typedef FastString<Char> String;
#define BLOOMBERG_ALLOCATE_CHAR_ARRAY(size, capacity) FastStringManager::GetInstance().AllocatedString(size, capacity)
#define BLOOMBERG_FREE_CHAR_ARRAY(ptr) FastStringManager::GetInstance().FreeString(ptr)
} // Namespace
#endif //BLOOMBERG_STRING_H_