Coder Social home page Coder Social logo

add is_logic about type_traits HOT 2 CLOSED

gpeterhoff avatar gpeterhoff commented on July 19, 2024
add is_logic

from type_traits.

Comments (2)

jzmaddock avatar jzmaddock commented on July 19, 2024

This is not what type_traits is for - we do not provide specialization points for other libraries, we introspect the type system, nothing more or less.

from type_traits.

gpeterhoff avatar gpeterhoff commented on July 19, 2024

tribool is a component of boost. As I wrote, such libraries must of course set is_logic (to true) themselves. But first a basis has to be created to represent this.
As I wrote ages ago, I would like to provide classes for 4-value logic https://en.wikipedia.org/wiki/Many-valued_logic#Belnap_logic_(B4) and for 3-value logic (which could replace the old tribool).
These would of course contain an is_logic.
Now you have to decide:

  • is_logic is not implemented
    you are stuck with the stone old code (tribool), without the possibility to extend it
  • is_logic is implemented
    various logic classes can be categorized (there are even more than 2-, 3- and 4-value logics)

please open this issues.

from type_traits.

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.