forked from Alepha/Alepha
Move streamable name to be more like the others.
This commit is contained in:
@ -1,6 +1,6 @@
|
|||||||
add_subdirectory( IStreamable.test )
|
add_subdirectory( IStreamable.test )
|
||||||
add_subdirectory( OStreamable.test )
|
add_subdirectory( OStreamable.test )
|
||||||
add_subdirectory( streamable.test )
|
add_subdirectory( Streamable.test )
|
||||||
add_subdirectory( LineTrackingStreambuf.test )
|
add_subdirectory( LineTrackingStreambuf.test )
|
||||||
add_subdirectory( OutUnixFileBuf.test )
|
add_subdirectory( OutUnixFileBuf.test )
|
||||||
add_subdirectory( StackableStreambuf.test )
|
add_subdirectory( StackableStreambuf.test )
|
||||||
|
|||||||
21
IOStreams/Streamable.h
Normal file
21
IOStreams/Streamable.h
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
static_assert( __cplusplus > 2020'99 );
|
||||||
|
|
||||||
|
#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;
|
||||||
|
}
|
||||||
@ -1,6 +1,6 @@
|
|||||||
static_assert( __cplusplus > 2020'99 );
|
static_assert( __cplusplus > 2020'99 );
|
||||||
|
|
||||||
#include "../streamable.h"
|
#include "../Streamable.h"
|
||||||
|
|
||||||
#include <Alepha/Testing/TableTest.h>
|
#include <Alepha/Testing/TableTest.h>
|
||||||
#include <Alepha/Testing/test.h>
|
#include <Alepha/Testing/test.h>
|
||||||
@ -13,7 +13,7 @@ static_assert( __cplusplus > 2020'99 );
|
|||||||
|
|
||||||
namespace
|
namespace
|
||||||
{
|
{
|
||||||
template< typename= Alepha::Capabilities< Alepha::auto_comparable, Alepha::IOStreams::streamable > >
|
template< typename= Alepha::Capabilities< Alepha::auto_comparable, Alepha::IOStreams::Streamable > >
|
||||||
struct Agg_core
|
struct Agg_core
|
||||||
{
|
{
|
||||||
int x;
|
int x;
|
||||||
@ -1,21 +0,0 @@
|
|||||||
static_assert( __cplusplus > 2020'99 );
|
|
||||||
|
|
||||||
#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;
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user