Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
Uh oh!
There was an error while loading.
Please reload this page
.
mapbox
/
variant
Public
Notifications
You must be signed in to change notification settings
Fork
96
Star
383
Code
Issues
25
Pull requests
9
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Commits
Branch selector
master
User selector
All users
Datepicker
All time
Commit history
Commits on Jun 29, 2026
Merge pull request #188 from mapbox/autocodeowners/add-codeowners
Show description for b7c3796
clarkemn
authored
b7c3796
View commit details
Copy full SHA for b7c3796
Browse repository at this point
Commits on Jun 17, 2026
Add CODEOWNERS file
AutoCodeowners
committed
e9ed50f
View commit details
Copy full SHA for e9ed50f
Browse repository at this point
Commits on Dec 1, 2020
Update README.md
mapsam
authored
f87fcbd
View commit details
Copy full SHA for f87fcbd
Browse repository at this point
Commits on Aug 3, 2020
Update CHANGELOG
artemp
committed
a2a4858
View commit details
Copy full SHA for a2a4858
Browse repository at this point
Merge pull request #180 from mapbox/lightmare-move-out
Show description for 82f9561
artemp
authored
82f9561
View commit details
Copy full SHA for 82f9561
Browse repository at this point
Merge pull request #181 from lightmare/revive-result-type
Show description for c0e7ac6
artemp
authored
c0e7ac6
View commit details
Copy full SHA for c0e7ac6
Browse repository at this point
Revert "visitor - revive using explicit return type when provided"
Show description for d13e617
artemp
committed
d13e617
View commit details
Copy full SHA for d13e617
Browse repository at this point
Commits on Jul 14, 2020
revive using visitor::result_type when available
lightmare
committed
0ebf09d
View commit details
Copy full SHA for 0ebf09d
Browse repository at this point
visitor - revive using explicit return type when provided
artemp
committed
b1076bb
View commit details
Copy full SHA for b1076bb
Browse repository at this point
Commits on Jul 10, 2020
properly forward through variant::visit
lightmare
committed
2e39475
View commit details
Copy full SHA for 2e39475
Browse repository at this point
travis: force compiling all tests
lightmare
committed
b09c7e1
View commit details
Copy full SHA for b09c7e1
Browse repository at this point
add test case for issue #180 discovered by @artemp
lightmare
committed
0ce49d8
View commit details
Copy full SHA for 0ce49d8
Browse repository at this point
Commits on Jul 9, 2020
Remove clang 3.7 and gcc47 builds
artemp
committed
8fc03c4
View commit details
Copy full SHA for 8fc03c4
Browse repository at this point
Commits on Jul 8, 2020
Merge branch 'move-out' of https://github.com/lightmare/variant into lightmare-move-out
artemp
committed
f6e57e9
View commit details
Copy full SHA for f6e57e9
Browse repository at this point
Commits on Jun 26, 2020
fix expected compilation error messages
lightmare
committed
94c8ccf
View commit details
Copy full SHA for 94c8ccf
Browse repository at this point
perfect forwarding in apply_visitor
lightmare
committed
6d21f77
View commit details
Copy full SHA for 6d21f77
Browse repository at this point
implement match on rvalue
lightmare
committed
d960916
View commit details
Copy full SHA for d960916
Browse repository at this point
test matching unwrapped rvalue with lambda expression
lightmare
committed
8b9eeb2
View commit details
Copy full SHA for 8b9eeb2
Browse repository at this point
Merge remote-tracking branch 'upstream/move-out' into move-out
lightmare
committed
77a24b9
View commit details
Copy full SHA for 77a24b9
Browse repository at this point
Commits on Jun 16, 2020
clang - self-assignment is a compile time error
artemp
committed
4ce01e1
View commit details
Copy full SHA for 4ce01e1
Browse repository at this point
Commits on Sep 25, 2019
Merge pull request #172 from mapbox/self-assignment
Show description for c94634b
artemp
authored
c94634b
View commit details
Copy full SHA for c94634b
Browse repository at this point
updated move assignment as suggested in https://github.com/mapbox/variant/pull/172#discussion_r328043024
artemp
committed
3dcac64
View commit details
Copy full SHA for 3dcac64
Browse repository at this point
Just use `assert(this!=&other)` in move assignment operator (https://stackoverflow.com/questions/9322174/move-assignment-operator-and-if-this-rhs)
artemp
committed
b36c78e
View commit details
Copy full SHA for b36c78e
Browse repository at this point
Improve self-assignment/move checks to have one return path.
artemp
committed
767bc18
View commit details
Copy full SHA for 767bc18
Browse repository at this point
Commits on Aug 13, 2019
Revert "disable -Wself-assign-overloaded (-Werror) in self-assignment test"
Show description for 94fc937
artemp
committed
94fc937
View commit details
Copy full SHA for 94fc937
Browse repository at this point
Revert "don't fail old compilers"
Show description for da2b171
artemp
committed
da2b171
View commit details
Copy full SHA for da2b171
Browse repository at this point
don't fail old compilers
Show description for 7918a48
artemp
committed
7918a48
View commit details
Copy full SHA for 7918a48
Browse repository at this point
disable -Wself-assign-overloaded (-Werror) in self-assignment test
artemp
committed
ad85832
View commit details
Copy full SHA for ad85832
Browse repository at this point
add self-assignment checks in copy and move assignment operator= (ref #164)
artemp
committed
4da4557
View commit details
Copy full SHA for 4da4557
Browse repository at this point
Commits on Apr 25, 2019
update CHANGELOG for variant v1.1.6 release [skip ci]
artemp
committed
cb02ad4
View commit details
Copy full SHA for cb02ad4
Browse repository at this point
fix version number
artemp
committed
a4f87dc
View commit details
Copy full SHA for a4f87dc
Browse repository at this point
update CHANGELOG
artemp
committed
ff14f22
View commit details
Copy full SHA for ff14f22
Browse repository at this point
Merge pull request #171 from mapbox/jrex-mute-clang-analyzer
Show description for 0305fdb
artemp
authored
0305fdb
View commit details
Copy full SHA for 0305fdb
Browse repository at this point
Moved to in-class initialization
Julian Rex
committed
2fef61f
View commit details
Copy full SHA for 2fef61f
Browse repository at this point
update CHANGELOG in preparation for v1.1.6 release
artemp
committed
52df276
View commit details
Copy full SHA for 52df276
Browse repository at this point
Previous
Next
You can’t perform that action at this time.