Hripsime Matevosyan
2012-Feb-17 10:06 UTC
[LLVMdev] How to detect if a string is stored in an aggregate type.
Hi all, I have a question concerning to std::strings. Will you please advice me how to detect if a constant string is stored in an array of std::strings or in other objects with aggregate type. For example, std::string a[2] = { "str1", "str2" }; Is there any idea better than detecting this by the signature of the string class constructor? Sincerely, Hripsime. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120217/b2b80d4b/attachment.html>