-
Notifications
You must be signed in to change notification settings - Fork 82
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[PATCH] deprecate core_language.hpp #2351
Conversation
This is solving partly seqan/product_backlog#160 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
Could you please move the belonging tests aswell?
#include <random> | ||
|
||
#include <seqan3/core/concept/core_language.hpp> | ||
#include <seqan3/utility/detail/exposition_only_concept.hpp> | ||
#include <seqan3/std/iterator> | ||
|
||
#include "auxiliary.hpp" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you also move and rename this test?
test/unit/std/concept/core_language_test.cpp -> test/unit/utility/detail/exposition_only_concept_test.cpp
And double check if there are snipptes or performance tests to move?
2021-02-01 Core MeetingWe talked about documentation inconsistencies. We found that the documentation of
Move concept group from core to utility. Keep |
950d403
to
e1bdf68
Compare
e1bdf68
to
fccb332
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, looks good now!
I think you can remove the include from the all.hpp, but you can do this together with the second review.
@@ -13,14 +13,5 @@ | |||
#pragma once | |||
|
|||
#include <seqan3/core/concept/cereal.hpp> | |||
#include <seqan3/core/concept/core_language.hpp> | |||
#include <seqan3/utility/detail/exposition_only_concept.hpp> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So far I know, we don't put detail things into all.hpp files.
@seqan/core is that correct?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some question came up:
1. where to put the `\defgroup utility_concept Concept`. Everywhere else it is inside an all.hpp, but I don't really have one. I have put it for now into `utility/all.hpp` 2. core/all.hpp had an unuseful `concept` description. I for now removed it.
For detail folder there is no all.hpp.
We actually want to establish to never just include 'all.hpp' but only what you need. The 'all.hpp' are for the user, who is not so familiar with the different modules etc.
Things in detail are functionalities that are there for us and not for the user, so there is no 'all.hpp'.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So far I know, we don't put detail things into all.hpp files.
@seqan/core is that correct?
In general, you are right, but I think it is okay in this case. In the long-run we will remove that header.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks very good; just some (repetetive) remarks :)
include/seqan3/alignment/matrix/detail/alignment_score_matrix_one_column_base.hpp
Outdated
Show resolved
Hide resolved
include/seqan3/alignment/matrix/detail/combined_score_and_trace_matrix.hpp
Outdated
Show resolved
Hide resolved
e2fac71
to
08d176b
Compare
- Move content of core/concept/core_language.hpp to utility/detail/exposition_only_concept.hpp - Added deprecation to core_language.hpp and a forward include to exposition_only_concept.hpp - Changed all header files to new include path - Changed all unittest to new include path
• remove from `concept` group • add missing `detail::` namespace scope
Co-authored-by: Marcel <marehr@users.noreply.github.com>
08d176b
to
7b01ba2
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you so much, it seems we are done. :)
Resolves part of seqan/product_backlog#160