Skip to content

confuse #6

Open
Open

Description

@YuDe95

in types.h
image
error is cannot define operater !=;
is need to delete :: in those functions?
my evirenment is vs2017.

Activity

  1. YuDe95 commented on Jun 5, 2020

    @YuDe95
    Author

    i solve it .I moved some code (picture 1)to namespace types (picture 2) in types.h.
    image
    image
    Refer to a person's opinion https://www.drdobbs.com/befriending-templates/184403853

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions