GithubHelp home page GithubHelp logo

to char* issue about fixed_string HOT 3 CLOSED

unterumarmung avatar unterumarmung commented on June 8, 2024
to char* issue

from fixed_string.

Comments (3)

unterumarmung avatar unterumarmung commented on June 8, 2024

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.

Xed0sS avatar Xed0sS commented on June 8, 2024

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.

unterumarmung avatar unterumarmung commented on June 8, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.