121
GB
What is 'std::expected::and_then'?
IN
'std::expected::and_then' क्या है?
A
Chains operation on success value
सफलता मूल्य पर चेन संचालन
B
Same as transform
परिवर्तन के समान
C
Error handler
त्रुटि संचालक
D
A monad bind
एक सन्यासी बाइंड
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English)
exp.and_then(f) applies f if expected has value; propagates error otherwise. Monadic chaining.
व्याख्या (हिन्दी)
यदि अपेक्षित का मान है तो exp.and_then(f) f लागू होता है; अन्यथा त्रुटि का प्रचार करता है। मोनाडिक श्रृखंला।