clean-up: can now switch remaining downstream usages
after all the relevant library components do support both kinds of type sequences transparently, any usages in core code can now be switched over to the new, variadic type sequences.
This commit is contained in:
parent
95a9ceac35
commit
acc77654d1
31 changed files with 101 additions and 107 deletions
|
|
@ -132,7 +132,7 @@ namespace diff{
|
||||||
using Rec = Record<GenNode>;
|
using Rec = Record<GenNode>;
|
||||||
using RecRef = RecordRef<GenNode>;
|
using RecRef = RecordRef<GenNode>;
|
||||||
using MakeRec = Rec::Mutator;
|
using MakeRec = Rec::Mutator;
|
||||||
using DataValues = meta::TyOLD<int
|
using DataValues = meta::TySeq<int
|
||||||
,int64_t
|
,int64_t
|
||||||
,short
|
,short
|
||||||
,char
|
,char
|
||||||
|
|
|
||||||
|
|
@ -431,7 +431,7 @@ namespace meta {
|
||||||
inline std::string
|
inline std::string
|
||||||
dump (std::tuple<TYPES...> const& tuple)
|
dump (std::tuple<TYPES...> const& tuple)
|
||||||
{
|
{
|
||||||
using BuildAccessor = BuildTupleAccessor<TupleElementDisplayer, TyOLD<TYPES...>>;
|
using BuildAccessor = BuildTupleAccessor<TupleElementDisplayer, TySeq<TYPES...>>;
|
||||||
using Displayer = typename BuildAccessor::Product ;
|
using Displayer = typename BuildAccessor::Product ;
|
||||||
|
|
||||||
return static_cast<Displayer const&> (tuple)
|
return static_cast<Displayer const&> (tuple)
|
||||||
|
|
|
||||||
|
|
@ -166,7 +166,7 @@ namespace time {
|
||||||
|
|
||||||
/* == Descriptor to define Support for specific formats == */
|
/* == Descriptor to define Support for specific formats == */
|
||||||
|
|
||||||
using lib::meta::TyOLD;
|
using lib::meta::TySeq;
|
||||||
using lib::meta::Node;
|
using lib::meta::Node;
|
||||||
using lib::meta::Nil;
|
using lib::meta::Nil;
|
||||||
|
|
||||||
|
|
@ -238,7 +238,7 @@ namespace time {
|
||||||
: Supported
|
: Supported
|
||||||
{
|
{
|
||||||
SupportStandardTimecode()
|
SupportStandardTimecode()
|
||||||
: Supported(formats< TyOLD<Hms,Smpte,Frames,Seconds> >())
|
: Supported(formats< TySeq<Hms,Smpte,Frames,Seconds> >())
|
||||||
{ }
|
{ }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -98,7 +98,7 @@ namespace lib {
|
||||||
namespace variant { // implementation metaprogramming helpers
|
namespace variant { // implementation metaprogramming helpers
|
||||||
|
|
||||||
using std::remove_reference;
|
using std::remove_reference;
|
||||||
using meta::TyOLD;
|
using meta::TySeq;
|
||||||
using meta::Node;
|
using meta::Node;
|
||||||
using meta::Nil;
|
using meta::Nil;
|
||||||
|
|
||||||
|
|
@ -159,8 +159,8 @@ namespace lib {
|
||||||
};
|
};
|
||||||
|
|
||||||
template<class...TYPES, template<class> class _P_>
|
template<class...TYPES, template<class> class _P_>
|
||||||
struct FirstMatchingType<TyOLD<TYPES...>, _P_>
|
struct FirstMatchingType<TySeq<TYPES...>, _P_>
|
||||||
: FirstMatchingType<typename TyOLD<TYPES...>::List, _P_>
|
: FirstMatchingType<typename TySeq<TYPES...>::List, _P_>
|
||||||
{ };
|
{ };
|
||||||
|
|
||||||
template<class T, class TYPES, template<class> class _P_>
|
template<class T, class TYPES, template<class> class _P_>
|
||||||
|
|
|
||||||
|
|
@ -171,7 +171,7 @@ namespace visitor {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
using typelist::TyOLD; // convenience for the user of "Applicable"
|
using typelist::TySeq; // convenience for the user of "Applicable"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -36,10 +36,9 @@ namespace steam {
|
||||||
namespace mobject { class MObject; }
|
namespace mobject { class MObject; }
|
||||||
|
|
||||||
|
|
||||||
typedef lib::meta::TyOLD < mobject::Placement<mobject::MObject>*
|
using WrapperTypes = lib::meta::TySeq< mobject::Placement<mobject::MObject>*
|
||||||
, lib::P<asset::Asset>*
|
, lib::P<asset::Asset>*
|
||||||
> ::List
|
> ::List;
|
||||||
WrapperTypes;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
namespace lumiera {
|
namespace lumiera {
|
||||||
|
|
|
||||||
|
|
@ -63,7 +63,7 @@ namespace model {
|
||||||
namespace error = lumiera::error;
|
namespace error = lumiera::error;
|
||||||
|
|
||||||
using interact::UICoord;
|
using interact::UICoord;
|
||||||
using lib::meta::TyOLD;
|
using lib::meta::TySeq;
|
||||||
using std::string;
|
using std::string;
|
||||||
|
|
||||||
class Tangible;
|
class Tangible;
|
||||||
|
|
@ -91,7 +91,7 @@ namespace model {
|
||||||
|
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
using RawResult = lib::Variant<TyOLD<model::Tangible*, Gtk::Widget*>>;
|
using RawResult = lib::Variant<TySeq<model::Tangible*, Gtk::Widget*>>;
|
||||||
|
|
||||||
/** @internal drill down according to coordinates, maybe create element */
|
/** @internal drill down according to coordinates, maybe create element */
|
||||||
virtual RawResult performAccessTo (UICoord::Builder &, size_t limitCreation) =0;
|
virtual RawResult performAccessTo (UICoord::Builder &, size_t limitCreation) =0;
|
||||||
|
|
|
||||||
|
|
@ -61,13 +61,12 @@ namespace steam {
|
||||||
* the list of all concrete types participating in the
|
* the list of all concrete types participating in the
|
||||||
* rule based config query system
|
* rule based config query system
|
||||||
*/
|
*/
|
||||||
typedef lib::meta::TyOLD < steam::mobject::session::Fork
|
using InterfaceTypes = lib::meta::TySeq < steam::mobject::session::Fork
|
||||||
, steam::asset::Pipe
|
, steam::asset::Pipe
|
||||||
, const steam::asset::ProcPatt
|
, const steam::asset::ProcPatt
|
||||||
, steam::asset::Timeline
|
, steam::asset::Timeline
|
||||||
, steam::asset::Sequence
|
, steam::asset::Sequence
|
||||||
> ::List
|
> ::List;
|
||||||
InterfaceTypes;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* user-visible Interface to the ConfigRules subsystem.
|
* user-visible Interface to the ConfigRules subsystem.
|
||||||
|
|
|
||||||
|
|
@ -77,7 +77,6 @@ namespace control {
|
||||||
using lib::Symbol;
|
using lib::Symbol;
|
||||||
|
|
||||||
using lib::meta::_Fun;
|
using lib::meta::_Fun;
|
||||||
using lib::meta::TyOLD;
|
|
||||||
using lib::meta::Tuple;
|
using lib::meta::Tuple;
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -59,7 +59,7 @@ namespace control {
|
||||||
|
|
||||||
using lib::meta::BuildFunType;
|
using lib::meta::BuildFunType;
|
||||||
using lib::meta::_Fun;
|
using lib::meta::_Fun;
|
||||||
using lib::meta::TyOLD;
|
using lib::meta::TySeq;
|
||||||
using lib::meta::Append;
|
using lib::meta::Append;
|
||||||
using lib::meta::PickLast;
|
using lib::meta::PickLast;
|
||||||
|
|
||||||
|
|
@ -77,7 +77,7 @@ namespace control {
|
||||||
using Args = typename _Fun<SIG>::Args;
|
using Args = typename _Fun<SIG>::Args;
|
||||||
using ArgList = typename Args::List;
|
using ArgList = typename Args::List;
|
||||||
using ExtendedArglist = typename Append<ArgList, MEM>::List;
|
using ExtendedArglist = typename Append<ArgList, MEM>::List;
|
||||||
using ExtendedArgs = typename TyOLD<ExtendedArglist>::Seq;
|
using ExtendedArgs = typename TySeq<ExtendedArglist>::Seq;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
using OperateSig = typename BuildFunType<void, Args>::Sig;
|
using OperateSig = typename BuildFunType<void, Args>::Sig;
|
||||||
|
|
@ -118,7 +118,7 @@ namespace control {
|
||||||
using Memento = RET;
|
using Memento = RET;
|
||||||
|
|
||||||
using ExtendedArglist = typename Append<ARG, Memento>::List;
|
using ExtendedArglist = typename Append<ARG, Memento>::List;
|
||||||
using ExtendedArgs = typename TyOLD<ExtendedArglist>::Seq;
|
using ExtendedArgs = typename TySeq<ExtendedArglist>::Seq;
|
||||||
|
|
||||||
using OperateSig = typename BuildFunType<void, ARG>::Sig;
|
using OperateSig = typename BuildFunType<void, ARG>::Sig;
|
||||||
using CaptureSig = typename BuildFunType<Ret,ARG>::Sig;
|
using CaptureSig = typename BuildFunType<Ret,ARG>::Sig;
|
||||||
|
|
@ -132,7 +132,7 @@ namespace control {
|
||||||
|
|
||||||
using Memento = typename PickLast<Args>::Type;
|
using Memento = typename PickLast<Args>::Type;
|
||||||
using OperationArglist = typename PickLast<Args>::List;
|
using OperationArglist = typename PickLast<Args>::List;
|
||||||
using OperationArgs = typename TyOLD<OperationArglist>::Seq;
|
using OperationArgs = typename TySeq<OperationArglist>::Seq;
|
||||||
|
|
||||||
using OperateSig = typename BuildFunType<void, OperationArgs>::Sig;
|
using OperateSig = typename BuildFunType<void, OperationArgs>::Sig;
|
||||||
using CaptureSig = typename BuildFunType<Ret,OperationArgs>::Sig;
|
using CaptureSig = typename BuildFunType<Ret,OperationArgs>::Sig;
|
||||||
|
|
|
||||||
|
|
@ -88,7 +88,7 @@ namespace control {
|
||||||
using lib::Symbol;
|
using lib::Symbol;
|
||||||
using std::shared_ptr;
|
using std::shared_ptr;
|
||||||
using lib::meta::Tuple;
|
using lib::meta::Tuple;
|
||||||
using lib::meta::TyOLD;
|
using lib::meta::TySeq;
|
||||||
|
|
||||||
using FuncPtr = void*;
|
using FuncPtr = void*;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -54,17 +54,16 @@
|
||||||
/////////////////////////////////TICKET #414
|
/////////////////////////////////TICKET #414
|
||||||
|
|
||||||
|
|
||||||
namespace steam {
|
namespace steam {
|
||||||
namespace mobject {
|
namespace mobject {
|
||||||
namespace builder {
|
namespace builder {
|
||||||
|
|
||||||
typedef TyOLD< session::Root,
|
using BuilderTargetTypes = TySeq< session::Root
|
||||||
session::Clip,
|
, session::Clip
|
||||||
session::Effect,
|
, session::Effect
|
||||||
session::Binding,
|
, session::Binding
|
||||||
session::AbstractMO
|
, session::AbstractMO
|
||||||
> ::List
|
> ::List ;
|
||||||
BuilderTargetTypes;
|
|
||||||
/////////////////////////////////TICKET #414
|
/////////////////////////////////TICKET #414
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -159,7 +159,7 @@ namespace mobject {
|
||||||
{ }
|
{ }
|
||||||
;
|
;
|
||||||
|
|
||||||
using lib::meta::TyOLD; // convenience for the users of "Applicable"
|
using lib::meta::TySeq; // convenience for the users of "Applicable"
|
||||||
|
|
||||||
}// namespace mobject::builder
|
}// namespace mobject::builder
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -113,7 +113,7 @@ namespace mobject {
|
||||||
{ VTABLE = sizeof(size_t)
|
{ VTABLE = sizeof(size_t)
|
||||||
, SPEC_SIZ = VTABLE
|
, SPEC_SIZ = VTABLE
|
||||||
+ mp::maxSize<
|
+ mp::maxSize<
|
||||||
mp::TyOLD< PID, lumiera_uid, uint>::List>()
|
mp::TySeq< PID, lumiera_uid, uint>::List>()
|
||||||
};
|
};
|
||||||
typedef lib::OpaqueHolder<TargetSpec, SPEC_SIZ> SpecBuff;
|
typedef lib::OpaqueHolder<TargetSpec, SPEC_SIZ> SpecBuff;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -268,17 +268,15 @@ namespace session {
|
||||||
* to create "the session" instance and expose it through the
|
* to create "the session" instance and expose it through the
|
||||||
* global Session PImpl
|
* global Session PImpl
|
||||||
*/
|
*/
|
||||||
typedef SessionServices< TyOLD< SessionServiceFetch
|
using SessionImplAPI = SessionServices< TySeq< SessionServiceFetch
|
||||||
, SessionServiceMutate
|
, SessionServiceMutate
|
||||||
, SessionServiceExploreScope
|
, SessionServiceExploreScope
|
||||||
, SessionServiceMockIndex
|
, SessionServiceMockIndex
|
||||||
, SessionServiceDefaults
|
, SessionServiceDefaults
|
||||||
> // List of the APIs to provide
|
> // List of the APIs to provide
|
||||||
, SessManagerImpl // frontend for access
|
, SessManagerImpl // frontend for access
|
||||||
, SessionImpl // implementation base class
|
, SessionImpl // implementation base class
|
||||||
> //
|
>; //
|
||||||
SessionImplAPI;
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -78,7 +78,7 @@ namespace mobject {
|
||||||
namespace session {
|
namespace session {
|
||||||
|
|
||||||
using lib::meta::InstantiateChained;
|
using lib::meta::InstantiateChained;
|
||||||
using lib::meta::TyOLD;
|
using lib::meta::TySeq;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
|
|
@ -39,8 +39,8 @@ namespace test {
|
||||||
run (Arg)
|
run (Arg)
|
||||||
{
|
{
|
||||||
SupportStandardTimecode just_fine;
|
SupportStandardTimecode just_fine;
|
||||||
Supported just_smpte = Supported::formats< TyOLD<Smpte> >();
|
Supported just_smpte = Supported::formats< TySeq<Smpte> >();
|
||||||
Supported just_simple = Supported::formats< TyOLD<Frames,Seconds> >();
|
Supported just_simple = Supported::formats< TySeq<Frames,Seconds> >();
|
||||||
|
|
||||||
Supported& support1 (just_fine);
|
Supported& support1 (just_fine);
|
||||||
Supported& support2 (just_smpte);
|
Supported& support2 (just_smpte);
|
||||||
|
|
|
||||||
|
|
@ -46,7 +46,7 @@ namespace test{
|
||||||
|
|
||||||
using lib::wrapper::ItemWrapper;
|
using lib::wrapper::ItemWrapper;
|
||||||
using steam::asset::meta::TimeGrid;
|
using steam::asset::meta::TimeGrid;
|
||||||
using lib::meta::TyOLD;
|
using lib::meta::TySeq;
|
||||||
using lib::meta::InstantiateChainedCombinations;
|
using lib::meta::InstantiateChainedCombinations;
|
||||||
using LERR_(UNCONNECTED);
|
using LERR_(UNCONNECTED);
|
||||||
|
|
||||||
|
|
@ -475,12 +475,12 @@ namespace test{
|
||||||
void
|
void
|
||||||
TimeControl_test::verifyMatrix_of_MutationCases (TimeValue const& origVal, TimeValue const& change)
|
TimeControl_test::verifyMatrix_of_MutationCases (TimeValue const& origVal, TimeValue const& change)
|
||||||
{
|
{
|
||||||
typedef TyOLD<Duration,TimeSpan,QuTime> KindsOfTarget; // time entities to receive value changes
|
using KindsOfTarget = TySeq<Duration,TimeSpan,QuTime> ; // time entities to receive value changes
|
||||||
typedef TyOLD<TimeValue,Time,Duration,TimeSpan,QuTime> KindsOfSource; // time entities to be used as change values
|
using KindsOfSource = TySeq<TimeValue,Time,Duration,TimeSpan,QuTime>; // time entities to be used as change values
|
||||||
typedef InstantiateChainedCombinations< KindsOfTarget
|
using TestMatrix = InstantiateChainedCombinations< KindsOfTarget
|
||||||
, KindsOfSource
|
, KindsOfSource
|
||||||
, TestCase // template to be instantiated for each type
|
, TestCase // template to be instantiated for each type
|
||||||
, IterationEnd > TestMatrix;
|
, IterationEnd >;
|
||||||
|
|
||||||
TestMatrix().performTestSequence(origVal, change);
|
TestMatrix().performTestSequence(origVal, change);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -65,7 +65,7 @@ namespace test2 {
|
||||||
|
|
||||||
class Babbler
|
class Babbler
|
||||||
: public Applicable< Babbler,
|
: public Applicable< Babbler,
|
||||||
TyOLD<Boss,BigBoss>::List, // treat this types
|
TySeq<Boss,BigBoss>::List, // treat this types
|
||||||
VerboseVisitor<Tool> // intermediary base class
|
VerboseVisitor<Tool> // intermediary base class
|
||||||
>
|
>
|
||||||
{
|
{
|
||||||
|
|
@ -114,7 +114,7 @@ namespace test2 {
|
||||||
*/
|
*/
|
||||||
class Blatherer
|
class Blatherer
|
||||||
: public Applicable< Blatherer,
|
: public Applicable< Blatherer,
|
||||||
TyOLD<Visionary>::List, // get calls to Visionary dispatched
|
TySeq<Visionary>::List, // get calls to Visionary dispatched
|
||||||
VerboseVisitor<Hastalavista> // note: different tool base class
|
VerboseVisitor<Hastalavista> // note: different tool base class
|
||||||
>
|
>
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -74,7 +74,7 @@ namespace test1 {
|
||||||
|
|
||||||
class Babbler
|
class Babbler
|
||||||
: public Applicable< Babbler
|
: public Applicable< Babbler
|
||||||
, TyOLD<Boss,BigBoss,Visionary>::List // dispatch calls to this types
|
, TySeq<Boss,BigBoss,Visionary>::List // dispatch calls to this types
|
||||||
, VerboseVisitor
|
, VerboseVisitor
|
||||||
>
|
>
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -111,7 +111,7 @@ namespace test {
|
||||||
void
|
void
|
||||||
bindRandArgument (CommandImpl& cmd)
|
bindRandArgument (CommandImpl& cmd)
|
||||||
{
|
{
|
||||||
typedef TyOLD<int> ArgType;
|
using ArgType = TySeq<int>;
|
||||||
TypedArguments<Tuple<ArgType>> arg (std::make_tuple (rani (10000)));
|
TypedArguments<Tuple<ArgType>> arg (std::make_tuple (rani (10000)));
|
||||||
cmd.setArguments (arg);
|
cmd.setArguments (arg);
|
||||||
CHECK (cmd.canExec());
|
CHECK (cmd.canExec());
|
||||||
|
|
|
||||||
|
|
@ -79,7 +79,7 @@ namespace test {
|
||||||
typedef function<Sig_capt> Fun_c;
|
typedef function<Sig_capt> Fun_c;
|
||||||
typedef function<Sig_undo> Fun_u;
|
typedef function<Sig_undo> Fun_u;
|
||||||
|
|
||||||
using ArgTuple = Tuple<TyOLD<char>>;
|
using ArgTuple = Tuple<TySeq<char>>;
|
||||||
using ArgHolder = OpClosure<Sig_oper>;
|
using ArgHolder = OpClosure<Sig_oper>;
|
||||||
using MemHolder = MementoTie<Sig_oper, string>;
|
using MemHolder = MementoTie<Sig_oper, string>;
|
||||||
using Closure = SimpleClosure<Sig_oper>;
|
using Closure = SimpleClosure<Sig_oper>;
|
||||||
|
|
|
||||||
|
|
@ -107,7 +107,7 @@ namespace test {
|
||||||
VERIFY_ERROR (UNBOUND_ARGUMENTS, functor(nullClosure) );
|
VERIFY_ERROR (UNBOUND_ARGUMENTS, functor(nullClosure) );
|
||||||
|
|
||||||
// now create a real closure....
|
// now create a real closure....
|
||||||
Tuple<TyOLD<int>> param = std::make_tuple (23);
|
Tuple<TySeq<int>> param = std::make_tuple (23);
|
||||||
SimpleClosure<void(int)> closed_over{param};
|
SimpleClosure<void(int)> closed_over{param};
|
||||||
|
|
||||||
CmdClosure& closure (closed_over);
|
CmdClosure& closure (closed_over);
|
||||||
|
|
@ -154,7 +154,7 @@ namespace test {
|
||||||
VERIFY_ERROR (UNBOUND_ARGUMENTS, undoFunctor(nullClosure) );
|
VERIFY_ERROR (UNBOUND_ARGUMENTS, undoFunctor(nullClosure) );
|
||||||
VERIFY_ERROR (UNBOUND_ARGUMENTS, undoFunctor.captureState(nullClosure) );
|
VERIFY_ERROR (UNBOUND_ARGUMENTS, undoFunctor.captureState(nullClosure) );
|
||||||
|
|
||||||
Tuple<TyOLD<> > param;
|
Tuple<TySeq<>> param;
|
||||||
SimpleClosure<void()> clo{param};
|
SimpleClosure<void()> clo{param};
|
||||||
|
|
||||||
CHECK (!mementoHolder);
|
CHECK (!mementoHolder);
|
||||||
|
|
|
||||||
|
|
@ -210,7 +210,7 @@ namespace test {
|
||||||
CHECK (!isSameObject (*pImpl, *clone));
|
CHECK (!isSameObject (*pImpl, *clone));
|
||||||
|
|
||||||
CHECK (!pImpl->canExec());
|
CHECK (!pImpl->canExec());
|
||||||
typedef TyOLD<int> ArgType;
|
using ArgType = TySeq<int>;
|
||||||
TypedArguments<Tuple<ArgType>> arg{Tuple<ArgType>(98765)};
|
TypedArguments<Tuple<ArgType>> arg{Tuple<ArgType>(98765)};
|
||||||
pImpl->setArguments(arg);
|
pImpl->setArguments(arg);
|
||||||
CHECK (pImpl->canExec());
|
CHECK (pImpl->canExec());
|
||||||
|
|
|
||||||
|
|
@ -166,9 +166,9 @@ namespace test {
|
||||||
checkExec (PCommandImpl com)
|
checkExec (PCommandImpl com)
|
||||||
{
|
{
|
||||||
CHECK (com);
|
CHECK (com);
|
||||||
CHECK (!com->canExec());
|
CHECK (not com->canExec());
|
||||||
|
|
||||||
typedef TyOLD<int> ArgType;
|
using ArgType = TySeq<int>;
|
||||||
const int ARGR{1 + rani (1000)};
|
const int ARGR{1 + rani (1000)};
|
||||||
Tuple<ArgType> tuple(ARGR);
|
Tuple<ArgType> tuple(ARGR);
|
||||||
TypedArguments<Tuple<ArgType>> arg(tuple);
|
TypedArguments<Tuple<ArgType>> arg(tuple);
|
||||||
|
|
|
||||||
|
|
@ -59,7 +59,7 @@ namespace test {
|
||||||
* so it will call the \c onUnknown(Buildable&) instead
|
* so it will call the \c onUnknown(Buildable&) instead
|
||||||
*/
|
*/
|
||||||
class TestTool
|
class TestTool
|
||||||
: public Applicable<TestTool, TyOLD<Clip, DummyMO>::List>
|
: public Applicable<TestTool, TySeq<Clip, DummyMO>::List>
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
string log_;
|
string log_;
|
||||||
|
|
|
||||||
|
|
@ -41,7 +41,7 @@ namespace test {
|
||||||
namespace { // what follows is a simulated (simplified) version
|
namespace { // what follows is a simulated (simplified) version
|
||||||
// of the complete Session + SessionManager setup.....
|
// of the complete Session + SessionManager setup.....
|
||||||
|
|
||||||
using lib::meta::TyOLD;
|
using lib::meta::TySeq;
|
||||||
using lib::meta::InstantiateChained;
|
using lib::meta::InstantiateChained;
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -161,10 +161,10 @@ namespace test {
|
||||||
|
|
||||||
struct TSessManagerImpl;
|
struct TSessManagerImpl;
|
||||||
|
|
||||||
typedef TSessionServices< TyOLD<InternalAPI_1,InternalAPI_2>
|
using SessionImplAPI = TSessionServices< TySeq<InternalAPI_1,InternalAPI_2>
|
||||||
, TSessManagerImpl
|
, TSessManagerImpl
|
||||||
, TSessionImpl
|
, TSessionImpl
|
||||||
> SessionImplAPI;
|
>;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -88,13 +88,13 @@ namespace test {
|
||||||
using BASE::eat; // prevent shadowing
|
using BASE::eat; // prevent shadowing
|
||||||
};
|
};
|
||||||
|
|
||||||
typedef TyOLD< Block<1>
|
using TheTypes = TySeq< Block<1>
|
||||||
, Block<2>
|
, Block<2>
|
||||||
, Block<3>
|
, Block<3>
|
||||||
, Block<5>
|
, Block<5>
|
||||||
, Block<8>
|
, Block<8>
|
||||||
, Block<13>
|
, Block<13>
|
||||||
>::List TheTypes;
|
>::List;
|
||||||
|
|
||||||
typedef InstantiateForEach<TheTypes,TakeIt> TheInterface;
|
typedef InstantiateForEach<TheTypes,TakeIt> TheInterface;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -203,13 +203,13 @@ namespace test {
|
||||||
|
|
||||||
|
|
||||||
//-------------------------------------------------TEST-types--
|
//-------------------------------------------------TEST-types--
|
||||||
typedef TyOLD< int
|
using TheList = TySeq<int
|
||||||
, uint
|
,uint
|
||||||
, int64_t
|
,int64_t
|
||||||
, uint64_t
|
,uint64_t
|
||||||
>::List TheList;
|
>::List;
|
||||||
|
|
||||||
typedef TyOLD< >::List EmptyList;
|
using EmptyList = Nil;
|
||||||
//-------------------------------------------------TEST-types--
|
//-------------------------------------------------TEST-types--
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -31,7 +31,7 @@ namespace lib {
|
||||||
namespace test{
|
namespace test{
|
||||||
|
|
||||||
using ::Test;
|
using ::Test;
|
||||||
using meta::TyOLD;
|
using meta::TySeq;
|
||||||
using lib::time::Time;
|
using lib::time::Time;
|
||||||
using lib::time::TimeVar;
|
using lib::time::TimeVar;
|
||||||
|
|
||||||
|
|
@ -43,7 +43,7 @@ namespace test{
|
||||||
|
|
||||||
|
|
||||||
// Test fixture...
|
// Test fixture...
|
||||||
typedef Variant<TyOLD<bool,int,string,Time>> TestVariant;
|
using TestVariant = Variant<TySeq<bool,int,string,Time>>;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -164482,7 +164482,7 @@ Since then others have made contributions, see the log for the history.</font></
|
||||||
<icon BUILTIN="idea"/>
|
<icon BUILTIN="idea"/>
|
||||||
</node>
|
</node>
|
||||||
</node>
|
</node>
|
||||||
<node COLOR="#338800" CREATED="1748829102455" ID="ID_1254282139" MODIFIED="1749007395415" TEXT="Closure">
|
<node COLOR="#338800" CREATED="1748829102455" FOLDED="true" ID="ID_1254282139" MODIFIED="1749259866722" TEXT="Closure">
|
||||||
<icon BUILTIN="button_ok"/>
|
<icon BUILTIN="button_ok"/>
|
||||||
<node CREATED="1748829838133" ID="ID_1933174501" MODIFIED="1748995159628" TEXT="wenige wichtige Verwendungen">
|
<node CREATED="1748829838133" ID="ID_1933174501" MODIFIED="1748995159628" TEXT="wenige wichtige Verwendungen">
|
||||||
<node CREATED="1748829860803" ID="ID_517247632" MODIFIED="1748829863739" TEXT="Commands"/>
|
<node CREATED="1748829860803" ID="ID_517247632" MODIFIED="1748829863739" TEXT="Commands"/>
|
||||||
|
|
@ -164848,10 +164848,10 @@ Since then others have made contributions, see the log for the history.</font></
|
||||||
</node>
|
</node>
|
||||||
</node>
|
</node>
|
||||||
</node>
|
</node>
|
||||||
<node BACKGROUND_COLOR="#eef0c5" COLOR="#990000" CREATED="1749176997322" ID="ID_1006977719" MODIFIED="1749177273560" TEXT="aufräumen (soweit möglich....)">
|
<node COLOR="#338800" CREATED="1749176997322" ID="ID_1006977719" MODIFIED="1749259855555" TEXT="aufräumen (soweit möglich....)">
|
||||||
<linktarget COLOR="#a14e46" DESTINATION="ID_1006977719" ENDARROW="Default" ENDINCLINATION="-53;352;" ID="Arrow_ID_960970945" SOURCE="ID_1746274296" STARTARROW="None" STARTINCLINATION="-349;-20;"/>
|
<linktarget COLOR="#a14e46" DESTINATION="ID_1006977719" ENDARROW="Default" ENDINCLINATION="-53;352;" ID="Arrow_ID_960970945" SOURCE="ID_1746274296" STARTARROW="None" STARTINCLINATION="-349;-20;"/>
|
||||||
<icon BUILTIN="pencil"/>
|
<icon BUILTIN="button_ok"/>
|
||||||
<node COLOR="#338800" CREATED="1749144588714" ID="ID_1479414175" MODIFIED="1749172141146" TEXT="inzwischen eingeführte Work-arounds reduzieren">
|
<node COLOR="#338800" CREATED="1749144588714" FOLDED="true" ID="ID_1479414175" MODIFIED="1749259843397" TEXT="inzwischen eingeführte Work-arounds reduzieren">
|
||||||
<icon BUILTIN="button_ok"/>
|
<icon BUILTIN="button_ok"/>
|
||||||
<node CREATED="1749144605777" ID="ID_644297858" MODIFIED="1749144634945" TEXT="2023 habe ich perfect-forwarding in einem Fall gebraucht"/>
|
<node CREATED="1749144605777" ID="ID_644297858" MODIFIED="1749144634945" TEXT="2023 habe ich perfect-forwarding in einem Fall gebraucht"/>
|
||||||
<node CREATED="1749144635772" ID="ID_1576498176" MODIFIED="1749144864798" TEXT="daraufhin habe ich die bestehenden Front-end-Fälle „daneben“ komplett neu implementiert">
|
<node CREATED="1749144635772" ID="ID_1576498176" MODIFIED="1749144864798" TEXT="daraufhin habe ich die bestehenden Front-end-Fälle „daneben“ komplett neu implementiert">
|
||||||
|
|
@ -165007,7 +165007,7 @@ Since then others have made contributions, see the log for the history.</font></
|
||||||
<node CREATED="1749160900145" ID="ID_1202100652" MODIFIED="1749160913016" TEXT="im Binder findet stets ein Decay statt">
|
<node CREATED="1749160900145" ID="ID_1202100652" MODIFIED="1749160913016" TEXT="im Binder findet stets ein Decay statt">
|
||||||
<node CREATED="1749160913956" ID="ID_1337223119" MODIFIED="1749160922564" TEXT="und es werden (sichere) Werte gespeichert"/>
|
<node CREATED="1749160913956" ID="ID_1337223119" MODIFIED="1749160922564" TEXT="und es werden (sichere) Werte gespeichert"/>
|
||||||
</node>
|
</node>
|
||||||
<node COLOR="#5b280f" CREATED="1749160945089" ID="ID_471705411" MODIFIED="1749169736464" TEXT="will man je etwas Anderes?">
|
<node COLOR="#5b280f" CREATED="1749160945089" FOLDED="true" ID="ID_471705411" MODIFIED="1749259833558" TEXT="will man je etwas Anderes?">
|
||||||
<icon BUILTIN="help"/>
|
<icon BUILTIN="help"/>
|
||||||
<icon BUILTIN="button_cancel"/>
|
<icon BUILTIN="button_cancel"/>
|
||||||
<node CREATED="1749161069089" ID="ID_1618982018" MODIFIED="1749161913375" TEXT="seinerzeit (Nov.2023) war mir das wichtig">
|
<node CREATED="1749161069089" ID="ID_1618982018" MODIFIED="1749161913375" TEXT="seinerzeit (Nov.2023) war mir das wichtig">
|
||||||
|
|
@ -165214,15 +165214,15 @@ Since then others have made contributions, see the log for the history.</font></
|
||||||
</node>
|
</node>
|
||||||
</node>
|
</node>
|
||||||
</node>
|
</node>
|
||||||
<node BACKGROUND_COLOR="#eee5c3" COLOR="#990000" CREATED="1749173842629" ID="ID_1193052412" MODIFIED="1749173949961" TEXT="std::function als Return-Typ eliminieren">
|
<node COLOR="#338800" CREATED="1749173842629" FOLDED="true" ID="ID_1193052412" MODIFIED="1749259849888" TEXT="std::function als Return-Typ eliminieren">
|
||||||
<icon BUILTIN="flag-yellow"/>
|
<icon BUILTIN="button_ok"/>
|
||||||
<node BACKGROUND_COLOR="#f8f1cb" COLOR="#a50125" CREATED="1749174621285" ID="ID_395474349" MODIFIED="1749174643440" TEXT="läuft in ein Problem mit tuple-Closure">
|
<node BACKGROUND_COLOR="#e0ceaa" COLOR="#4f0f69" CREATED="1749174621285" ID="ID_395474349" MODIFIED="1749259811469" TEXT="läuft in ein Problem mit tuple-Closure">
|
||||||
<icon BUILTIN="messagebox_warning"/>
|
<icon BUILTIN="messagebox_warning"/>
|
||||||
<node BACKGROUND_COLOR="#fafe99" COLOR="#fa002a" CREATED="1749174647486" ID="ID_1166377834" MODIFIED="1749174674298" TEXT="meta::_Fun kann die Signatur nicht extrahieren">
|
<node BACKGROUND_COLOR="#fafe99" COLOR="#fa002a" CREATED="1749174647486" ID="ID_1166377834" MODIFIED="1749174674298" TEXT="meta::_Fun kann die Signatur nicht extrahieren">
|
||||||
<icon BUILTIN="broken-line"/>
|
<icon BUILTIN="broken-line"/>
|
||||||
<node BACKGROUND_COLOR="#fdfdcf" COLOR="#ff0000" CREATED="1749174685327" ID="ID_1675851330" MODIFIED="1749220917005" TEXT="Untersuchung anstellen">
|
<node BACKGROUND_COLOR="#c8c0b6" COLOR="#ff0000" CREATED="1749174685327" FOLDED="true" ID="ID_1675851330" MODIFIED="1749259801019" TEXT="Untersuchung anstellen">
|
||||||
<linktarget COLOR="#5d738d" DESTINATION="ID_1675851330" ENDARROW="Default" ENDINCLINATION="-2063;-216;" ID="Arrow_ID_1587544190" SOURCE="ID_824524746" STARTARROW="None" STARTINCLINATION="-3181;188;"/>
|
<linktarget COLOR="#5d738d" DESTINATION="ID_1675851330" ENDARROW="Default" ENDINCLINATION="-2063;-216;" ID="Arrow_ID_1587544190" SOURCE="ID_824524746" STARTARROW="None" STARTINCLINATION="-3181;188;"/>
|
||||||
<icon BUILTIN="flag-pink"/>
|
<icon BUILTIN="yes"/>
|
||||||
<node CREATED="1749224426699" ID="ID_445129042" MODIFIED="1749224430732" TEXT="try.cpp"/>
|
<node CREATED="1749224426699" ID="ID_445129042" MODIFIED="1749224430732" TEXT="try.cpp"/>
|
||||||
<node BACKGROUND_COLOR="#e0ceaa" COLOR="#690f14" CREATED="1749224434259" ID="ID_854500863" MODIFIED="1749224464915" TEXT="Problem bestätigt">
|
<node BACKGROUND_COLOR="#e0ceaa" COLOR="#690f14" CREATED="1749224434259" ID="ID_854500863" MODIFIED="1749224464915" TEXT="Problem bestätigt">
|
||||||
<icon BUILTIN="broken-line"/>
|
<icon BUILTIN="broken-line"/>
|
||||||
|
|
@ -165258,8 +165258,8 @@ Since then others have made contributions, see the log for the history.</font></
|
||||||
</node>
|
</node>
|
||||||
<node CREATED="1749247089096" ID="ID_901849776" MODIFIED="1749247097492" TEXT="funktioniert im Experiment-Setup"/>
|
<node CREATED="1749247089096" ID="ID_901849776" MODIFIED="1749247097492" TEXT="funktioniert im Experiment-Setup"/>
|
||||||
</node>
|
</node>
|
||||||
<node CREATED="1749247108332" ID="ID_1805229821" MODIFIED="1749247120271" TEXT="std::function durch neuen Wrapper ersetzen">
|
<node COLOR="#435e98" CREATED="1749247108332" FOLDED="true" ID="ID_1805229821" MODIFIED="1749259797003" TEXT="std::function durch neuen Wrapper ersetzen">
|
||||||
<node BACKGROUND_COLOR="#fafe99" COLOR="#fa002a" CREATED="1749247122127" ID="ID_534442801" MODIFIED="1749247134561" TEXT="10 Kilometer Template-Fehlermeldungen">
|
<node BACKGROUND_COLOR="#e8c87b" COLOR="#fa002a" CREATED="1749247122127" ID="ID_534442801" MODIFIED="1749259766172" TEXT="10 Kilometer Template-Fehlermeldungen">
|
||||||
<icon BUILTIN="broken-line"/>
|
<icon BUILTIN="broken-line"/>
|
||||||
</node>
|
</node>
|
||||||
<node COLOR="#435e98" CREATED="1749247140146" ID="ID_1154477976" MODIFIED="1749256796295" STYLE="fork" TEXT="also schrittweise untersuchen...">
|
<node COLOR="#435e98" CREATED="1749247140146" ID="ID_1154477976" MODIFIED="1749256796295" STYLE="fork" TEXT="also schrittweise untersuchen...">
|
||||||
|
|
@ -165327,7 +165327,7 @@ Since then others have made contributions, see the log for the history.</font></
|
||||||
</html></richcontent>
|
</html></richcontent>
|
||||||
</node>
|
</node>
|
||||||
</node>
|
</node>
|
||||||
<node BACKGROUND_COLOR="#f8f1cb" COLOR="#a50125" CREATED="1749256558045" ID="ID_1138789948" MODIFIED="1749256785561" TEXT="unauflösbare Widersprüche zwischen const / non-const">
|
<node BACKGROUND_COLOR="#e1c4aa" COLOR="#a50125" CREATED="1749256558045" ID="ID_1138789948" MODIFIED="1749259777782" TEXT="unauflösbare Widersprüche zwischen const / non-const">
|
||||||
<icon BUILTIN="messagebox_warning"/>
|
<icon BUILTIN="messagebox_warning"/>
|
||||||
<node CREATED="1749256643664" ID="ID_490598677" MODIFIED="1749256785561" TEXT="wird zum Problem, sobald man das Ergebnis in ein Lambda-capture packt"/>
|
<node CREATED="1749256643664" ID="ID_490598677" MODIFIED="1749256785561" TEXT="wird zum Problem, sobald man das Ergebnis in ein Lambda-capture packt"/>
|
||||||
<node CREATED="1749256665484" ID="ID_948383115" MODIFIED="1749256785561" TEXT="das ist dann const, und hat keinen aufrufbaren Funktions-Operator mehr"/>
|
<node CREATED="1749256665484" ID="ID_948383115" MODIFIED="1749256785561" TEXT="das ist dann const, und hat keinen aufrufbaren Funktions-Operator mehr"/>
|
||||||
|
|
@ -165366,11 +165366,11 @@ Since then others have made contributions, see the log for the history.</font></
|
||||||
</node>
|
</node>
|
||||||
<node CREATED="1749142101434" ID="ID_1381240660" MODIFIED="1749172133286" TEXT="verbleibende Konstrukte">
|
<node CREATED="1749142101434" ID="ID_1381240660" MODIFIED="1749172133286" TEXT="verbleibende Konstrukte">
|
||||||
<icon BUILTIN="info"/>
|
<icon BUILTIN="info"/>
|
||||||
<node CREATED="1749142116785" ID="ID_1310351984" MODIFIED="1749142126238" TEXT="func::bindArgTuple"/>
|
<node COLOR="#435e98" CREATED="1749142116785" ID="ID_1310351984" MODIFIED="1749259864338" TEXT="func::bindArgTuple"/>
|
||||||
<node CREATED="1749144238952" ID="ID_262951123" MODIFIED="1749144243512" TEXT="func::bindFirst"/>
|
<node COLOR="#435e98" CREATED="1749144238952" ID="ID_262951123" MODIFIED="1749259864374" TEXT="func::bindFirst"/>
|
||||||
<node CREATED="1749142164570" ID="ID_779039468" MODIFIED="1749142166210" TEXT="func::bindLast"/>
|
<node COLOR="#435e98" CREATED="1749142164570" ID="ID_779039468" MODIFIED="1749259864374" TEXT="func::bindLast"/>
|
||||||
<node CREATED="1749142129186" ID="ID_1530717251" MODIFIED="1749142133129" TEXT="func::chained"/>
|
<node COLOR="#435e98" CREATED="1749142129186" ID="ID_1530717251" MODIFIED="1749259864374" TEXT="func::chained"/>
|
||||||
<node CREATED="1749171920198" ID="ID_1210236207" MODIFIED="1749171926601" TEXT="func::BindToArgument">
|
<node COLOR="#435e98" CREATED="1749171920198" ID="ID_1210236207" MODIFIED="1749259864373" TEXT="func::BindToArgument">
|
||||||
<node CREATED="1749171927604" ID="ID_154901422" MODIFIED="1749171937940" TEXT="das könnte der Implementierungs-Kern werden">
|
<node CREATED="1749171927604" ID="ID_154901422" MODIFIED="1749171937940" TEXT="das könnte der Implementierungs-Kern werden">
|
||||||
<icon BUILTIN="idea"/>
|
<icon BUILTIN="idea"/>
|
||||||
</node>
|
</node>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue