Skip to content

Allow to use #pragma once as block guard in New Class dialog #1011

@renkun-ken

Description

@renkun-ken

Some projects are also edited in visual studio so the default block guard used in existing headers are #pragma once. It seems that the New Class dialog does not allow to use this block guard instead of the traditional way.

It should be useful to put a check box to allow users to use #pragma once instead of #ifndef-way especially for those projects being edited in visual studio at the same time.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions