@@ -15,17 +15,17 @@ namespace Langulus::Flow
15
15
{
16
16
17
17
// / Generic constructor
18
- // / @param other - the verb/argument and semantic to construct with
18
+ // / @param other - the verb/argument and intent to construct with
19
19
template <CT::Data T1, CT::Data...TN>
20
20
requires CT::VerbMakable<T1, TN...> LANGULUS (INLINED)
21
21
Verb::Verb(T1&& t1, TN&&...tn) {
22
22
if constexpr (sizeof ...(TN) == 0 and not CT::Array<T1>) {
23
- using S = SemanticOf <decltype (t1)>;
23
+ using S = IntentOf <decltype (t1)>;
24
24
using T = TypeOf<S>;
25
25
26
26
if constexpr (CT::VerbBased<T>) {
27
27
// Make sure the VMeta is initialized
28
- (void ) DesemCast (t1).GetVerb ();
28
+ (void ) DeintCast (t1).GetVerb ();
29
29
new (this ) A::Verb {S::Nest (t1).template Forward <A::Verb>()};
30
30
}
31
31
else Many::operator = (Forward<T1>(t1));
@@ -34,16 +34,16 @@ namespace Langulus::Flow
34
34
}
35
35
36
36
// / Generic assignment
37
- // / @param rhs - the verb/argument and semantic to assign by
37
+ // / @param rhs - the verb/argument and intent to assign by
38
38
// / @return a reference to this verb
39
39
LANGULUS (INLINED)
40
40
Verb& Verb::operator = (CT::VerbAssignable auto && rhs) {
41
- using S = SemanticOf <decltype (rhs)>;
41
+ using S = IntentOf <decltype (rhs)>;
42
42
using T = TypeOf<S>;
43
43
44
44
if constexpr (CT::VerbBased<T>) {
45
45
// Make sure the VMeta is initialized
46
- (void ) DesemCast (rhs).GetVerb ();
46
+ (void ) DeintCast (rhs).GetVerb ();
47
47
A::Verb::operator = (S::Nest (rhs).template Forward <A::Verb>());
48
48
}
49
49
else Many::operator = (S::Nest (rhs));
@@ -71,7 +71,7 @@ namespace Langulus::Flow
71
71
CT::UnfoldInsertable auto && a,
72
72
const Charge& charge, VerbState state
73
73
) {
74
- using S = SemanticOf <decltype (a)>;
74
+ using S = IntentOf <decltype (a)>;
75
75
return FromMeta (MetaVerbOf<V>(), S::Nest (a), charge, state);
76
76
}
77
77
@@ -86,7 +86,7 @@ namespace Langulus::Flow
86
86
VMeta verb, CT::UnfoldInsertable auto && a,
87
87
const Charge& charge, VerbState state
88
88
) {
89
- using S = SemanticOf <decltype (a)>;
89
+ using S = IntentOf <decltype (a)>;
90
90
auto result = FromMeta (verb, charge, state);
91
91
result.SetArgument (S::Nest (a));
92
92
return result;
@@ -418,17 +418,17 @@ namespace Langulus::Flow
418
418
419
419
// / Push anything to end of the outputs, satisfying the verb
420
420
// / @attention nullptrs are never pushed and don't satisfy verb
421
- // / @param rhs - the data ( and semantic) to push
421
+ // / @param rhs - the data and intent to push
422
422
// / @return a reference to this verb for chaining
423
423
template <CT::VerbBased THIS> LANGULUS (INLINED)
424
424
THIS& Verb::operator << (CT::UnfoldInsertable auto && rhs) {
425
- using S = SemanticOf <decltype (rhs)>;
425
+ using S = IntentOf <decltype (rhs)>;
426
426
using T = TypeOf<S>;
427
427
428
428
if constexpr (not CT::Nullptr<T>) {
429
429
if constexpr (CT::PointerRelated<T>) {
430
430
// Push a pointer only if valid
431
- if (not DesemCast (rhs))
431
+ if (not DeintCast (rhs))
432
432
return *reinterpret_cast <THIS*>(this );
433
433
}
434
434
@@ -441,17 +441,17 @@ namespace Langulus::Flow
441
441
442
442
// / Push anything to the front of the outputs, satisfying the verb
443
443
// / @attention nullptrs are never pushed and don't satisfy verb
444
- // / @param rhs - the data ( and semantic) to push
444
+ // / @param rhs - the data and intent to push
445
445
// / @return a reference to this verb for chaining
446
446
template <CT::VerbBased THIS> LANGULUS (INLINED)
447
447
THIS& Verb::operator >> (CT::UnfoldInsertable auto && rhs) {
448
- using S = SemanticOf <decltype (rhs)>;
448
+ using S = IntentOf <decltype (rhs)>;
449
449
using T = TypeOf<S>;
450
450
451
451
if constexpr (not CT::Nullptr<T>) {
452
452
if constexpr (CT::PointerRelated<T>) {
453
453
// Push a pointer only if valid
454
- if (not DesemCast (rhs))
454
+ if (not DeintCast (rhs))
455
455
return *reinterpret_cast <THIS*>(this );
456
456
}
457
457
@@ -462,22 +462,22 @@ namespace Langulus::Flow
462
462
return *reinterpret_cast <THIS*>(this );
463
463
}
464
464
465
- // / Merge anything to output's back by a semantic
466
- // / @param rhs - the data ( and semantic) to merge
465
+ // / Merge anything to output's back, with or without an intent
466
+ // / @param rhs - the data and intent to merge
467
467
// / @return a reference to this verb for chaining
468
468
template <CT::VerbBased THIS> LANGULUS (INLINED)
469
469
THIS& Verb::operator <<= (CT::UnfoldInsertable auto && rhs) {
470
- using S = SemanticOf <decltype (rhs)>;
470
+ using S = IntentOf <decltype (rhs)>;
471
471
using T = TypeOf<S>;
472
472
473
473
if constexpr (not CT::Nullptr<T>) {
474
474
if constexpr (CT::PointerRelated<TypeOf<S>>) {
475
475
// Push a pointer, but check if valid first
476
- if (not DesemCast (rhs))
476
+ if (not DeintCast (rhs))
477
477
return *reinterpret_cast <THIS*>(this );
478
478
}
479
479
480
- auto ptr = PointerDecay (DesemCast (rhs));
480
+ auto ptr = PointerDecay (DeintCast (rhs));
481
481
if (mOutput .Find (ptr))
482
482
return *reinterpret_cast <THIS*>(this );
483
483
@@ -488,22 +488,22 @@ namespace Langulus::Flow
488
488
return *reinterpret_cast <THIS*>(this );
489
489
}
490
490
491
- // / Merge anything to output's front by a semantic
492
- // / @param rhs - the data ( and semantic) to merge
491
+ // / Merge anything to output's front, with or without an intent
492
+ // / @param rhs - the data and intent to merge
493
493
// / @return a reference to this verb for chaining
494
494
template <CT::VerbBased THIS> LANGULUS (INLINED)
495
495
THIS& Verb::operator >>= (CT::UnfoldInsertable auto && rhs) {
496
- using S = SemanticOf <decltype (rhs)>;
496
+ using S = IntentOf <decltype (rhs)>;
497
497
using T = TypeOf<S>;
498
498
499
499
if constexpr (not CT::Nullptr<T>) {
500
500
if constexpr (CT::PointerRelated<TypeOf<S>>) {
501
501
// Push a pointer, but check if valid first
502
- if (not DesemCast (rhs))
502
+ if (not DeintCast (rhs))
503
503
return *reinterpret_cast <THIS*>(this );
504
504
}
505
505
506
- auto ptr = PointerDecay (DesemCast (rhs));
506
+ auto ptr = PointerDecay (DeintCast (rhs));
507
507
if (mOutput .Find (ptr))
508
508
return *reinterpret_cast <THIS*>(this );
509
509
0 commit comments