Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Custom macro for enum to string support#2918

Merged
B1ueber2y merged 21 commits into
colmap:maincolmap/colmap:mainfrom
B1ueber2y:features/enum_to_stringB1ueber2y/colmap:features/enum_to_stringCopy head branch name to clipboard
Nov 18, 2024
Merged

Custom macro for enum to string support#2918
B1ueber2y merged 21 commits into
colmap:maincolmap/colmap:mainfrom
B1ueber2y:features/enum_to_stringB1ueber2y/colmap:features/enum_to_stringCopy head branch name to clipboard

Conversation

@B1ueber2y

@B1ueber2y B1ueber2y commented Nov 18, 2024

Copy link
Copy Markdown
Contributor

I adapted only a few for now as examples. If we are happy with it we could apply on all enum classes.

@B1ueber2y

Copy link
Copy Markdown
Contributor Author

Also it currently only supports enum class. Need to support enum as well (should be straightforward).

@B1ueber2y
B1ueber2y marked this pull request as draft November 18, 2024 12:17
@B1ueber2y

Copy link
Copy Markdown
Contributor Author

Also it currently only supports enum class. Need to support enum as well (should be straightforward).

This is supported: 7e34979

@B1ueber2y
B1ueber2y marked this pull request as ready for review November 18, 2024 15:45
Comment thread src/colmap/util/enum_to_string.h Outdated
Comment thread src/colmap/util/enum_to_string.h Outdated
Comment thread src/colmap/util/enum_to_string.h

@ahojnnes ahojnnes left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great to me, thanks.

Comment thread src/colmap/util/enum_to_string.h Outdated
@B1ueber2y
B1ueber2y enabled auto-merge (squash) November 18, 2024 19:08
@B1ueber2y
B1ueber2y merged commit d43f96a into colmap:main Nov 18, 2024
@B1ueber2y
B1ueber2y deleted the features/enum_to_string branch November 18, 2024 19:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.