Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
Algorithms Library Toolkit Core
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Container Registry
Model registry
Monitor
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Algorithms Library Toolkit
Algorithms Library Toolkit Core
Commits
aadc2dea
Unverified
Commit
aadc2dea
authored
5 years ago
by
Tomáš Pecka
Browse files
Options
Downloads
Patches
Plain Diff
Use =default where appropriate
parent
edf117d7
No related branches found
No related tags found
1 merge request
!139
merge tp
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
alib2abstraction/src/abstraction/ValuePrinterAbstraction.hpp
+2
-4
2 additions, 4 deletions
alib2abstraction/src/abstraction/ValuePrinterAbstraction.hpp
alib2cli/src/ast/command/OperatorsIntrospectionCommand.h
+1
-2
1 addition, 2 deletions
alib2cli/src/ast/command/OperatorsIntrospectionCommand.h
with
3 additions
and
6 deletions
alib2abstraction/src/abstraction/ValuePrinterAbstraction.hpp
+
2
−
4
View file @
aadc2dea
...
@@ -18,8 +18,7 @@ namespace abstraction {
...
@@ -18,8 +18,7 @@ namespace abstraction {
template
<
class
ParamType
>
template
<
class
ParamType
>
class
ValuePrinterAbstraction
:
virtual
public
NaryOperationAbstraction
<
ParamType
,
std
::
ostream
&
>
,
virtual
public
ValueOperationAbstraction
<
void
>
{
class
ValuePrinterAbstraction
:
virtual
public
NaryOperationAbstraction
<
ParamType
,
std
::
ostream
&
>
,
virtual
public
ValueOperationAbstraction
<
void
>
{
public:
public:
ValuePrinterAbstraction
(
)
{
ValuePrinterAbstraction
(
)
=
default
;
}
std
::
shared_ptr
<
abstraction
::
Value
>
run
(
)
override
{
std
::
shared_ptr
<
abstraction
::
Value
>
run
(
)
override
{
std
::
shared_ptr
<
abstraction
::
Value
>
&
firstParam
=
std
::
get
<
0
>
(
this
->
getParams
(
)
);
std
::
shared_ptr
<
abstraction
::
Value
>
&
firstParam
=
std
::
get
<
0
>
(
this
->
getParams
(
)
);
...
@@ -33,8 +32,7 @@ public:
...
@@ -33,8 +32,7 @@ public:
template
<
>
template
<
>
class
ValuePrinterAbstraction
<
void
>
:
virtual
public
NaryOperationAbstraction
<
>
,
virtual
public
ValueOperationAbstraction
<
void
>
{
class
ValuePrinterAbstraction
<
void
>
:
virtual
public
NaryOperationAbstraction
<
>
,
virtual
public
ValueOperationAbstraction
<
void
>
{
public:
public:
ValuePrinterAbstraction
(
)
{
ValuePrinterAbstraction
(
)
=
default
;
}
std
::
shared_ptr
<
abstraction
::
Value
>
run
(
)
override
{
std
::
shared_ptr
<
abstraction
::
Value
>
run
(
)
override
{
return
std
::
make_shared
<
abstraction
::
Void
>
(
);
return
std
::
make_shared
<
abstraction
::
Void
>
(
);
...
...
This diff is collapsed.
Click to expand it.
alib2cli/src/ast/command/OperatorsIntrospectionCommand.h
+
1
−
2
View file @
aadc2dea
...
@@ -21,8 +21,7 @@ class OperatorsIntrospectionCommand : public Command {
...
@@ -21,8 +21,7 @@ class OperatorsIntrospectionCommand : public Command {
}
}
public:
public:
OperatorsIntrospectionCommand ( ) {
OperatorsIntrospectionCommand ( ) = default;
}
template < class Operators >
template < class Operators >
static void printOperators ( const ext::list < ext::pair < Operators, abstraction::AlgorithmFullInfo > > & overloads ) {
static void printOperators ( const ext::list < ext::pair < Operators, abstraction::AlgorithmFullInfo > > & overloads ) {
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment