Question: Is it possible to write something like this?

```
[](std::index_sequence<std::size_t ...I> s) {

};

```

Or this?

```
[]<std::size_t ...I>(std::index_sequence<I...> s) { 

}

```

How is the syntax for this in C++14 or C++17? Or is it not possible at all? Basically, I just want to have the `I` as a template parameter pack, and the lambda just serves as a way to do that. Alternatively, is there a syntax to achieve the following?

```
std::index_sequence<std::size_t ...I> x = std::make_index_sequence<10>{};

// I now is a local template parameter pack

```

Answer: 
As per your update you need to include `Input` within your controller simply using

```
use App\Http\Controllers\Input;

```

at the top of the file after namespace. Instead of using `Input` facade you can use [**`Request`**](https://laravel.com/docs/5.1/requests) facade for better coding standards
Change your query like this, in `where` or `orWhere` first param shuould be column name also add `%` around `$term` and remove unnecessary where conditions.

```
public function search(Request $request) {
$term = $request->input('term');
$members = DB::table('members as m')
            ->where('m.member_first_name', 'LIKE', "%$term%")
            ->orWhere('m.member_last_name', 'LIKE', "%$term%")
            ->orWhere('m.member_business_address', 'LIKE', "%$term%")
            ->get();
return response()->json($members);
}

```