फ़ंक्शन flip [SWS_CORE_01712] Upstream: RS_AP_00130
reference & ara::core::Bitset< N >::reference::flip () noexcept;
As per corresponding usage in [bitset]
उपयोग
प्रॉक्सी क्लास ara::core::Bitset::reference का सिंक्रोनस मेंबर फ़ंक्शन flip वर्तमान में संदर्भित बिट को उलटने के लिए कार्य करता है [SWS_CORE_01712]। इसे हेडर फ़ाइल ara/core/bitset.h के माध्यम से घोषित किया गया है। कॉल बिना पैरामीटर के सीधे मौजूदा संदर्भ इंस्टेंस पर किया जाता है। रिटर्न मान के रूप में, फ़ंक्शन संशोधित reference ऑब्जेक्ट (reference&) का संदर्भ लौटाता है। व्याख्या: विनिर्देश विवरण “As per corresponding usage in [bitset]” के अनुसार, व्यवहार संभवतः std::bitset::reference::flip से मेल खाना चाहिए, जिससे बिट मान नकार दिया जाता है और *this वापस लौटाया जाता है। प्रश्न Q-23d82576a1b93125 (खुला)
त्रुटि प्रबंधन और अपवाद सुरक्षा
इंटरफ़ेस को noexcept के रूप में घोषित किया गया है और अपवाद-सुरक्षित (exception safe) के रूप में निर्दिष्ट किया गया है [SWS_CORE_01712]। कोई विशिष्ट त्रुटि स्थितियाँ या त्रुटि कोड उत्पन्न नहीं होते हैं, क्योंकि कोई पैरामीटर पास नहीं किया जाता है और किसी श्रेणी जाँच की आवश्यकता नहीं होती है।
मॉड्यूल में परस्पर क्रिया
ara::core::Bitset के भीतर, फ़ंक्शन मॉड्यूल के अन्य इनवर्जन ऑपरेशनों का पूरक है:
ara::core::Bitset::reference::flipविशेष रूप से संदर्भ के माध्यम से संबोधित एकल बिट [SWS_CORE_01712] को टॉगल करता है।ara::core::Bitset::flip()बिना किसी पैरामीटर के पूरे बिटसेट के सभी बिट्स को सिंक्रोनस रूप से उलट देता है और बिटसेट का एक संदर्भ लौटाता है [SWS_CORE_01730]।ara::core::Bitset::flip(std::size_t pos)इंडेक्स स्थितिposपर बिट को उलट देता है और एकResultलौटाता है, जो अमान्य इंडेक्स होने परIsoStdOutOfRangeViolationके साथ विफल हो जाता है [SWS_CORE_01731]।
यह पाठ एक AI द्वारा तैयार और संकलित किया गया था।
| Header-Datei | #include "ara/core/bitset.h" |
|---|---|
| Scope | class ara::core::Bitset::reference |
| Exception-Sicherheit | exception safe |
Request a governed re-review of this record. The record is not changed immediately.
- Record
AUTOSAR/AP/record/SWS_CORE_01712- Status
- valid/unmigrated
- Version
AUTOSAR/AP/record/SWS_CORE_01712@rel:R25-11#343fc98c- Content hash
343fc98c- Source
- https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_01712
Status: valid/unmigrated
Version: rel:R25-11#aa62487c
Versionshistorie & Revisions (1 transition)
- Current State
valid/unmigrated- Reason
- mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
- Campaign
2026-08-13-status-backfill- Active Version
AUTOSAR/AP/record/SWS_CORE_01712@rel:R25-11#aa62487c
Requirement Text as-of this release:
Curation Decisions:
Reachable Artifacts & Dependents:
| Date | Actor | Transition | Reason / Rationale | Campaign |
|---|---|---|---|---|
| 2026-08-13 | tool | none → valid/unmigrated | mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record | 2026-08-13-status-backfill |
gemini-3.8-flash-low· 2026-10-13 · जर्मन मूल