1
0
forked from Alepha/Alepha

Unified streamable support capability.

This commit is contained in:
2023-10-29 05:59:55 -04:00
parent 540e30ec18
commit 01cf7bc0a9
4 changed files with 80 additions and 0 deletions

21
IOStreams/streamable.h Normal file
View File

@ -0,0 +1,21 @@
static_assert( __cplusplus > 2020'00 );
#pragma once
#include <Alepha/Alepha.h>
#include "IStreamable.h"
#include "OStreamable.h"
namespace Alepha::Hydrogen::IOStreams ::detail:: streamable_m
{
inline namespace exports
{
struct streamable : OStreamable, IStreamable {};
}
}
namespace Alepha::Hydrogen::IOStreams::inline exports::inline streamable_m
{
using namespace detail::streamable_m::exports;
}