-
-
Notifications
You must be signed in to change notification settings - Fork 61
Improve portability #88
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
Comments
I agree. This is really something we should be incorporating here.
Apart from that, some parts of the directory structure uses snake case which might create unnecessary conflicts with STL. Here's a nice resource where I got to know about this first. |
Amazing! we are following the same YouTube blogger! |
I think cross-platform testing is the first need, it is very unfriendly to Linuxers like me (wry smiles) |
Agree, we should close #7 and can simply consider using google's style. |
@PDLdeLange I think your opinions sound good. Go ahead! |
Okay!
…On Wed, Mar 31, 2021, 15:40 hsluoyz ***@***.***> wrote:
@PDLdeLange <https://github.com/PDLdeLange> I think your opinions sound
good. Go ahead!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#88 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAE6CK22AKLMC5MG5IWEE5TTGMQ45ANCNFSM42BR3BCQ>
.
|
Removed 'using namespace std', introduced casbin namespace. Signed-off-by: PDLdeLange <[email protected]>
Signed-off-by: PDLdeLange <[email protected]> Fix for casbin#88. Description: - removed 'using namespace std' - introduced casbin namespace
We love the effort but currently we can not use the project due to portability issues. I would propose to make the following changes.
The latter two changes conflict with point 3 of the contribution guide which is actually considered bad practice and decreases portability. See: https://stackoverflow.com/questions/1452721/why-is-using-namespace-std-considered-bad-practice.
Making these changes would make the project more inline with point 12 of the contributation guide and would improve portablity. See also: https://google.github.io/styleguide/cppguide.html#Namespaces.
Happy to help out on this in case this issue is accepted.
The text was updated successfully, but these errors were encountered: