1
0
forked from Alepha/Alepha

Move streamable name to be more like the others.

This commit is contained in:
2024-05-07 22:46:38 -04:00
parent a1137d3a56
commit 3844026429
5 changed files with 24 additions and 24 deletions

View File

@ -1,6 +1,6 @@
add_subdirectory( IStreamable.test )
add_subdirectory( OStreamable.test )
add_subdirectory( streamable.test )
add_subdirectory( Streamable.test )
add_subdirectory( LineTrackingStreambuf.test )
add_subdirectory( OutUnixFileBuf.test )
add_subdirectory( StackableStreambuf.test )

21
IOStreams/Streamable.h Normal file
View 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;
}

View File

@ -1,6 +1,6 @@
static_assert( __cplusplus > 2020'99 );
#include "../streamable.h"
#include "../Streamable.h"
#include <Alepha/Testing/TableTest.h>
#include <Alepha/Testing/test.h>
@ -13,7 +13,7 @@ static_assert( __cplusplus > 2020'99 );
namespace
{
template< typename= Alepha::Capabilities< Alepha::auto_comparable, Alepha::IOStreams::streamable > >
template< typename= Alepha::Capabilities< Alepha::auto_comparable, Alepha::IOStreams::Streamable > >
struct Agg_core
{
int x;

View File

@ -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;
}