Comments (3)
First of all, there's no constructor from either char*
or const char*
because it's not possible to create a fixed string from a const char*
. It has been discussed in #44.
Second. I guess there is a problem with the API of the library. If it's meant to be used in compile-time, it should return a const reference to the array of the encrypted string, not const pointer.
from fixed_string.
Anyway it doesn't works with ur fixed_string, for std::string it works fine, just fix that and it will be good.
from fixed_string.
Again, the problem in not with fixed_string library, but with xorstr. I explained it to you and gave a direction to do further investigation. If you do not understand it, it is NOT my problem, but yours.
Also, fixstr::fixed_string
and std::string
are NOT fully interchangeable.
If you need something to be fixed, you are more than welcome to fork the library and do it yourself.
from fixed_string.
Related Issues (20)
- Add `operator+=` HOT 4
- Conan recipe. HOT 1
- Revise default constructor implementation HOT 2
- Move `data` definition
- Remove CLion's `.idea` folder that contains code style checks
- Add spellchecker to CI
- Add clang-format to CI HOT 1
- Add clang-tidy checks to CI
- Add numeric conversions HOT 12
- Refactor tests
- Add `static_assert`s for template parameters of `basic_fixed_string` HOT 5
- Implement strings for specific TChar types without inheritance
- Add `.c_str()`
- Documentation HOT 1
- CI: attach built documentation to the PR check
- Try Rule of 0
- constructor from any const char* and std::string HOT 3
- Support for C++11 HOT 5
- Update cNTTP support
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fixed_string.