Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9124663
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T06:37:14+00:00 2026-06-17T06:37:14+00:00

void FakeMas::initLSRKeys() { const char* lsrKeysInit[]= { platform.enhancedmetadata.categories.baseurl, platform.enhancedmetadata.eventresolution.baseurl, platform.enhancedmetadata.image.baseurl, platform.enhancedmetadata.ondemands.baseurl, platform.enhancedmetadata.programmes.baseurl, platform.enhancedmetadata.recommend.baseurl, platform.enhancedmetadata.schedule.baseurl,

  • 0
void FakeMas::initLSRKeys() {
    const char* lsrKeysInit[]= {
        "platform.enhancedmetadata.categories.baseurl",
        "platform.enhancedmetadata.eventresolution.baseurl",
        "platform.enhancedmetadata.image.baseurl",
        "platform.enhancedmetadata.ondemands.baseurl",
        "platform.enhancedmetadata.programmes.baseurl",
        "platform.enhancedmetadata.recommend.baseurl",
        "platform.enhancedmetadata.schedule.baseurl",
        "platform.enhancedmetadata.scheduleevents.baseurl",
        "platform.enhancedmetadata.search.baseurl",
        "platform.enhancedmetadata.serviceresolve.baseurl",
        "platform.enhancedmetadata.applicationresolve.baseurl",
        "platform.enhancedmetadata.suggestions.baseurl",
        "platform.enhancedmetadata.summaries.baseurl",
        "platform.enhancedmetadata.bootstrap.baseurl"
    };
    endpointLSRKey(lsrKeysInit, lsrKeysInit+14);
}

Then get

error: no match for call to '(std::__debug::vector<std::basic_string<char> >)
(const char* [14], const char**)'

anyone get any idea about this?
THanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T06:37:16+00:00Added an answer on June 17, 2026 at 6:37 am

    You can only use the form variable(arguments...) in an initializer (i.e. in a declaration). When assigning to a variable that already exists, use an assignment or in this case use assign:

    endpointLSRKey.assign(lsrKeysInit, lsrKeysInit+14);
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

void expand_combinations(const char *remaining_string, string const & s, int rema in_depth) { if(remain_depth==0) {
- (void)connection:(NSURLConnection *)connection didReceiveData:(NSData *)data { xmlParseChunk(context, (const char *)[data bytes], [data length], 0);
void outputString(const char *str) { cout << outputString(const char *str) : << str <<
void foo(const char* s) { } foo(bar); Where is the memory bar deallocated? What
void getName(char* value) { const char *nameArray[] = { bob, billy, jimbob, boba fett,
void test() { unsigned char c; c = (~0)>>1 ; printf(c is %u\n,c); }
void say(char msg[]) { // using pointer to print out the first char of
void f(char* p) {} int main() { f(Hello); // OK auto p = Hello;
void foo(const Object & o = Object()) { return; } In the function above,
void updatebfile(char filename[MAX]) { fstream writereadb; char cont='y'; char filenameb [MAX]; int i=1; int

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.