Skip to content
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

classDiagram: return value "std::unique_ptr" does not display #3303

Closed
sebastianbergt opened this issue Aug 8, 2022 · 2 comments
Closed
Labels
Type: Bug / Error Something isn't working or is incorrect

Comments

@sebastianbergt
Copy link

Describe the bug
The return value of makeToy does not display correctly with std:: or likely any other namespace prefix.

To Reproduce
Just try to render the example below.
If std:: is omitted, it works again.

Expected behavior
Display the makeToy line as +makeToy() std::unique_ptr<Toy>

Screenshots
Wrong display:
image

Code Sample

classDiagram
    class ToyFactory {
        <<factory>>
        +makeToy() std::unique_ptr~Toy~ 
    }
Loading

live editor

Desktop (please complete the following information):
Tried on

  • OS: Ubuntu 20.04 x86_64
  • Browser Chrome
  • Version 103.0.5060.134

Smartphone (please complete the following information):
Did not test it on a smartphone.

@sebastianbergt sebastianbergt added Status: Triage Needs to be verified, categorized, etc Type: Bug / Error Something isn't working or is incorrect labels Aug 8, 2022
@matthew-limbinar
Copy link

Probably this is an instance of #1635.

@jgreywolf jgreywolf added DUPE and removed Status: Triage Needs to be verified, categorized, etc labels Mar 10, 2023
@jgreywolf
Copy link
Contributor

Closing in favor of #1635

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug / Error Something isn't working or is incorrect
Projects
None yet
Development

No branches or pull requests

3 participants