Closed anshu-khare-design closed 4 years ago
WTF 😨 Mate, leave boostorg/core
alone, please!
Implicit_cast typically means that we are able to convert one datatype to another. If this is wrong, could you please link me to relevant sources?
If this is wrong, could you please link me to relevant sources?
Mind you you have been already told: https://lists.boost.org/Archives/boost/2020/01/247987.php
The relevant place to look is the implicit_cast.cpp
file you added to the library in this PR.
Look at it again and review what you have added, what it is, if/how it integrates with the library.
To me, this is a useless file .cpp
file, a randomly dropped in rubbish.
Answering those initial questions should already tell you it is a good idea to close this PR and forget, so I should not even make comments about quality of the code you submitted:
using namespace std
#include <iostream>
#pragma once
in .cpp
file, not to mention it is compiler-specific feature used without proper preprocessor conditional.cpp
file, not to mention the guard does not follow the https://www.boost.org/development/header.htmlIf you really really really die hard to contribute to boostorg/core
, then really really really try hard and spend time getting familiar with the current contents of the library, learn how it is structured, integrated, built (or perhaps it is not built, hint!), etc.
Again, you have been already given plenty of guidelines https://lists.boost.org/Archives/boost/2020/01/247987.php or even more https://lists.boost.org/Archives/boost/2020/01/248004.php. Hint: the last one is golden!
Everything about this is wrong.
For your edification only, this is the implementation of implicit_cast
:
template<class T>
BOOST_CONSTEXPR inline T implicit_cast(typename type_identity<T>::type v)
{
return v;
}
We do not want to address #49, so I'm closing this PR.
@glenfe Shall the #49 be closed as well?
I have worked on issue #49 of core library.