Termination is likely the most sensible reaction when a program reaches an irrecoverable state, notably when invariants are violated. The standard ways to terminate are std::abort (C) and std::terminate (C++). Both approaches allow for custom handlers (albeit very limited in the case of std::abort). std::abort: https://lnkd.in/e83EWMJv std::terminate: https://lnkd.in/e8SKHCCS #cpp #cplusplus #coding #programming #dailybiteofcpp
Šimon Tóth’s Post
Explore content categories
- Career
- Productivity
- Finance
- Soft Skills & Emotional Intelligence
- Project Management
- Education
- Technology
- Leadership
- Ecommerce
- User Experience
- Recruitment & HR
- Customer Experience
- Real Estate
- Marketing
- Sales
- Retail & Merchandising
- Science
- Supply Chain Management
- Future Of Work
- Consulting
- Writing
- Economics
- Artificial Intelligence
- Employee Experience
- Workplace Trends
- Fundraising
- Networking
- Corporate Social Responsibility
- Negotiation
- Communication
- Engineering
- Hospitality & Tourism
- Business Strategy
- Change Management
- Organizational Culture
- Design
- Innovation
- Event Planning
- Training & Development
Ubisoft Sofia•411 followers
2yWhat are you toughts on std::exit then?